Skip to content

Commit

Permalink
Mark testArrayOfMapOfStruct and testDoubleNaNInfinity as @flaky
Browse files Browse the repository at this point in the history
  • Loading branch information
losipiuk committed Dec 3, 2020
1 parent e202eff commit f89304f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
6 changes: 6 additions & 0 deletions presto-hive/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,12 @@
<scope>test</scope>
</dependency>

<dependency>
<groupId>io.prestosql</groupId>
<artifactId>presto-testng-services</artifactId>
<scope>test</scope>
</dependency>

<dependency>
<groupId>io.prestosql</groupId>
<artifactId>presto-tpch</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
import io.prestosql.spi.type.SqlTimestamp;
import io.prestosql.spi.type.SqlVarbinary;
import io.prestosql.spi.type.Type;
import io.prestosql.testng.services.Flaky;
import org.apache.hadoop.hive.common.type.Date;
import org.apache.hadoop.hive.common.type.HiveDecimal;
import org.apache.hadoop.hive.common.type.Timestamp;
Expand Down Expand Up @@ -357,6 +358,8 @@ public void testSingleLevelSchemaArrayOfMaps()
}

@Test
@Flaky(issue = "https://github.com/prestosql/presto/issues/4984", match = ".*maxCapacityHint can't be less than initialSlabSize.*")
// Flaky failure comes from org.apache.hadoop.hive.ql.io.parquet.write.ParquetRecordWriterWrapper used during test initialization
public void testArrayOfMapOfStruct()
throws Exception
{
Expand Down Expand Up @@ -1484,6 +1487,8 @@ public void testDoubleSequence()
}

@Test
@Flaky(issue = "https://github.com/prestosql/presto/issues/6193", match = ".*maxCapacityHint can't be less than initialSlabSize.*")
// Flaky failure comes from org.apache.hadoop.hive.ql.io.parquet.write.ParquetRecordWriterWrapper used during test initialization
public void testDoubleNaNInfinity()
throws Exception
{
Expand Down

0 comments on commit f89304f

Please sign in to comment.