Skip to content

Commit

Permalink
use single threaded tests to reduce flakiness
Browse files Browse the repository at this point in the history
  • Loading branch information
elharo committed Mar 8, 2024
1 parent 14e81ae commit 0836d83
Show file tree
Hide file tree
Showing 10 changed files with 12 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
import static org.testng.Assert.assertFalse;
import static org.testng.Assert.assertTrue;

@Test(singleThreaded = true)
public class TestClickHouseDistributedQueries
extends AbstractTestDistributedQueries
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
import static org.testng.Assert.assertEquals;
import static org.testng.Assert.assertTrue;

@Test(singleThreaded = true)
public class TestHiveDistributedQueries
extends AbstractTestDistributedQueries
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
import static org.testng.Assert.assertEquals;
import static org.testng.Assert.assertThrows;

@Test(singleThreaded = true)
public class TestHiveDistributedQueriesWithExchangeMaterialization
extends AbstractTestDistributedQueries
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,13 @@
import com.facebook.presto.testing.QueryRunner;
import com.facebook.presto.tests.AbstractTestDistributedQueries;
import com.google.common.collect.ImmutableMap;
import org.testng.annotations.Test;

import java.util.Optional;

import static io.airlift.tpch.TpchTable.getTables;

@Test(singleThreaded = true)
public class TestHiveDistributedQueriesWithOptimizedRepartitioning
extends AbstractTestDistributedQueries
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,13 @@
import com.facebook.presto.testing.QueryRunner;
import com.facebook.presto.tests.AbstractTestDistributedQueries;
import com.google.common.collect.ImmutableMap;
import org.testng.annotations.Test;

import java.util.Optional;

import static io.airlift.tpch.TpchTable.getTables;

@Test(singleThreaded = true)
public class TestHiveDistributedQueriesWithThriftRpc
extends AbstractTestDistributedQueries
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
import static io.airlift.tpch.TpchTable.getTables;
import static org.testng.Assert.assertEquals;

@Test(singleThreaded = true)
public class TestHivePushdownDistributedQueries
extends AbstractTestDistributedQueries
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
import static io.airlift.tpch.TpchTable.getTables;
import static org.testng.Assert.assertEquals;

@Test(singleThreaded = true)
public class TestParquetDistributedQueries
extends AbstractTestDistributedQueries
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@
import static java.util.Objects.requireNonNull;
import static org.testng.Assert.assertTrue;

@Test(singleThreaded = true)
public class IcebergDistributedTestBase
extends AbstractTestDistributedQueries
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
import static com.facebook.presto.testing.assertions.Assert.assertEquals;
import static java.util.concurrent.TimeUnit.SECONDS;

@Test
@Test(singleThreaded = true)
public class TestMySqlDistributedQueries
extends AbstractTestDistributedQueries
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
import static java.util.stream.IntStream.range;
import static org.testng.Assert.assertTrue;

@Test
@Test(singleThreaded = true)
public class TestSingleStoreDistributedQueries
extends AbstractTestDistributedQueries
{
Expand Down

0 comments on commit 0836d83

Please sign in to comment.