Skip to content

Commit

Permalink
Mark Oracle FailureRecovery tests as flaky
Browse files Browse the repository at this point in the history
  • Loading branch information
mwd410 authored and losipiuk committed Jun 14, 2023
1 parent a221b13 commit b58ce87
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@
import io.trino.plugin.exchange.filesystem.FileSystemExchangePlugin;
import io.trino.plugin.jdbc.BaseJdbcFailureRecoveryTest;
import io.trino.testing.QueryRunner;
import io.trino.testng.services.Flaky;
import io.trino.tpch.TpchTable;
import org.testng.annotations.Test;

import java.util.List;
import java.util.Map;
Expand Down Expand Up @@ -59,4 +61,12 @@ protected QueryRunner createQueryRunner(
"exchange.base-directories", System.getProperty("java.io.tmpdir") + "/trino-local-file-system-exchange-manager"));
});
}

@Override
@Flaky(issue = "https://github.com/trinodb/trino/issues/16277", match = "There should be no remaining tmp_trino tables that are queryable")
@Test(dataProvider = "parallelTests")
public void testParallel(Runnable runnable)
{
super.testParallel(runnable);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ public Object[][] parallelTests()
}

@Test(dataProvider = "parallelTests")
public final void testParallel(Runnable runnable)
public void testParallel(Runnable runnable)
{
try {
// By default, a test method using a @DataProvider with parallel attribute is run in 10 threads (org.testng.xml.XmlSuite#DEFAULT_DATA_PROVIDER_THREAD_COUNT).
Expand Down

0 comments on commit b58ce87

Please sign in to comment.