Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mark TestSyncPartitionMetadata as @Flaky #6123

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
import io.prestosql.tempto.hadoop.hdfs.HdfsClient;
import io.prestosql.tempto.internal.hadoop.hdfs.HdfsDataSourceWriter;
import io.prestosql.tempto.query.QueryResult;
import io.prestosql.testng.services.Flaky;
import org.testng.annotations.Test;

import static io.prestosql.tempto.assertions.QueryAssert.Row.row;
Expand All @@ -47,6 +48,7 @@ public class TestSyncPartitionMetadata
private HdfsDataSourceWriter hdfsDataSourceWriter;

@Test(groups = {HIVE_PARTITIONING, SMOKE, PRESTO_JDBC})
@Flaky(issue = "https://github.com/prestosql/presto/issues/4936", match = "Error committing write to Hive(?s:.*)could only be replicated to 0 nodes instead of minReplication")
public void testAddPartition()
{
String tableName = "test_sync_partition_metadata_add_partition";
Expand All @@ -60,6 +62,7 @@ public void testAddPartition()
}

@Test(groups = {HIVE_PARTITIONING, SMOKE})
@Flaky(issue = "https://github.com/prestosql/presto/issues/4936", match = "Error committing write to Hive(?s:.*)could only be replicated to 0 nodes instead of minReplication")
public void testDropPartition()
{
String tableName = "test_sync_partition_metadata_drop_partition";
Expand All @@ -73,6 +76,7 @@ public void testDropPartition()
}

@Test(groups = {HIVE_PARTITIONING, SMOKE})
@Flaky(issue = "https://github.com/prestosql/presto/issues/4936", match = "Error committing write to Hive(?s:.*)could only be replicated to 0 nodes instead of minReplication")
public void testFullSyncPartition()
{
String tableName = "test_sync_partition_metadata_add_drop_partition";
Expand All @@ -86,6 +90,7 @@ public void testFullSyncPartition()
}

@Test(groups = {HIVE_PARTITIONING, SMOKE, PRESTO_JDBC})
@Flaky(issue = "https://github.com/prestosql/presto/issues/4936", match = "Error committing write to Hive(?s:.*)could only be replicated to 0 nodes instead of minReplication")
public void testInvalidSyncMode()
{
String tableName = "test_repair_invalid_mode";
Expand All @@ -98,6 +103,7 @@ public void testInvalidSyncMode()
}

@Test(groups = {HIVE_PARTITIONING, SMOKE})
@Flaky(issue = "https://github.com/prestosql/presto/issues/4936", match = "Error committing write to Hive(?s:.*)could only be replicated to 0 nodes instead of minReplication")
public void testMixedCasePartitionNames()
{
String tableName = "test_sync_partition_mixed_case";
Expand All @@ -114,6 +120,7 @@ public void testMixedCasePartitionNames()
}

@Test(groups = {HIVE_PARTITIONING, SMOKE})
@Flaky(issue = "https://github.com/prestosql/presto/issues/4936", match = "Error committing write to Hive(?s:.*)could only be replicated to 0 nodes instead of minReplication")
public void testConflictingMixedCasePartitionNames()
{
String tableName = "test_sync_partition_mixed_case";
Expand Down