diff --git a/client/trino-cli/pom.xml b/client/trino-cli/pom.xml
index 8d693c7a73f9..633ff79171e5 100644
--- a/client/trino-cli/pom.xml
+++ b/client/trino-cli/pom.xml
@@ -124,6 +124,12 @@
test
+
+ io.airlift
+ junit-extensions
+ test
+
+
org.assertj
assertj-core
diff --git a/core/trino-grammar/pom.xml b/core/trino-grammar/pom.xml
index a18d64aa198f..43d08da1d952 100644
--- a/core/trino-grammar/pom.xml
+++ b/core/trino-grammar/pom.xml
@@ -27,6 +27,12 @@
antlr4-runtime
+
+ io.airlift
+ junit-extensions
+ test
+
+
org.assertj
assertj-core
diff --git a/core/trino-main/pom.xml b/core/trino-main/pom.xml
index 0b2f93524478..172ea2ab7136 100644
--- a/core/trino-main/pom.xml
+++ b/core/trino-main/pom.xml
@@ -426,6 +426,12 @@
test
+
+ io.airlift
+ junit-extensions
+ test
+
+
io.airlift
testing
diff --git a/core/trino-main/src/test/java/io/trino/type/TestUnknownType.java b/core/trino-main/src/test/java/io/trino/type/TestUnknownType.java
index 771e5561449b..ff22b3c1d43e 100644
--- a/core/trino-main/src/test/java/io/trino/type/TestUnknownType.java
+++ b/core/trino-main/src/test/java/io/trino/type/TestUnknownType.java
@@ -45,6 +45,7 @@ public void testRange()
.isEmpty();
}
+ @Test
@Override
public void testFlat()
throws Throwable
diff --git a/core/trino-parser/pom.xml b/core/trino-parser/pom.xml
index fb344fa444dc..31bbd363f734 100644
--- a/core/trino-parser/pom.xml
+++ b/core/trino-parser/pom.xml
@@ -42,6 +42,12 @@
antlr4-runtime
+
+ io.airlift
+ junit-extensions
+ test
+
+
org.assertj
assertj-core
diff --git a/core/trino-server-main/pom.xml b/core/trino-server-main/pom.xml
index 7ace29e5d6e0..00aef7421ab8 100644
--- a/core/trino-server-main/pom.xml
+++ b/core/trino-server-main/pom.xml
@@ -29,6 +29,12 @@
trino-main
+
+ io.airlift
+ junit-extensions
+ test
+
+
org.junit.jupiter
junit-jupiter-api
diff --git a/core/trino-spi/pom.xml b/core/trino-spi/pom.xml
index 6ce2d0e08c19..31471cddedf0 100644
--- a/core/trino-spi/pom.xml
+++ b/core/trino-spi/pom.xml
@@ -88,6 +88,12 @@
test
+
+ io.airlift
+ junit-extensions
+ test
+
+
io.airlift
testing
diff --git a/lib/trino-array/pom.xml b/lib/trino-array/pom.xml
index 05d268eea601..c398fb88fc6f 100644
--- a/lib/trino-array/pom.xml
+++ b/lib/trino-array/pom.xml
@@ -36,6 +36,12 @@
fastutil
+
+ io.airlift
+ junit-extensions
+ test
+
+
io.trino
trino-testing-services
diff --git a/lib/trino-filesystem-azure/pom.xml b/lib/trino-filesystem-azure/pom.xml
index 991af96024a9..bc5eaf233880 100644
--- a/lib/trino-filesystem-azure/pom.xml
+++ b/lib/trino-filesystem-azure/pom.xml
@@ -136,6 +136,12 @@
runtime
+
+ io.airlift
+ junit-extensions
+ test
+
+
io.airlift
log-manager
diff --git a/lib/trino-filesystem-manager/pom.xml b/lib/trino-filesystem-manager/pom.xml
index f47b4f43afb7..d42d13ed0619 100644
--- a/lib/trino-filesystem-manager/pom.xml
+++ b/lib/trino-filesystem-manager/pom.xml
@@ -62,6 +62,12 @@
trino-spi
+
+ io.airlift
+ junit-extensions
+ test
+
+
org.assertj
assertj-core
diff --git a/lib/trino-filesystem-s3/pom.xml b/lib/trino-filesystem-s3/pom.xml
index 748b0da8e84f..f56681983dd9 100644
--- a/lib/trino-filesystem-s3/pom.xml
+++ b/lib/trino-filesystem-s3/pom.xml
@@ -125,6 +125,12 @@
test
+
+ io.airlift
+ junit-extensions
+ test
+
+
io.airlift
log-manager
diff --git a/lib/trino-filesystem/pom.xml b/lib/trino-filesystem/pom.xml
index 05ea3b9387d7..2da2ac506701 100644
--- a/lib/trino-filesystem/pom.xml
+++ b/lib/trino-filesystem/pom.xml
@@ -64,6 +64,12 @@
runtime
+
+ io.airlift
+ junit-extensions
+ test
+
+
io.trino
trino-spi
diff --git a/lib/trino-geospatial-toolkit/pom.xml b/lib/trino-geospatial-toolkit/pom.xml
index 3736e3ddb949..5596bb9f9ab5 100644
--- a/lib/trino-geospatial-toolkit/pom.xml
+++ b/lib/trino-geospatial-toolkit/pom.xml
@@ -62,6 +62,12 @@
jts-io-common
+
+ io.airlift
+ junit-extensions
+ test
+
+
io.trino
trino-testing-services
diff --git a/lib/trino-hdfs/pom.xml b/lib/trino-hdfs/pom.xml
index 05acf699a4aa..ed379f66c745 100644
--- a/lib/trino-hdfs/pom.xml
+++ b/lib/trino-hdfs/pom.xml
@@ -177,6 +177,12 @@
test
+
+ io.airlift
+ junit-extensions
+ test
+
+
io.airlift
testing
diff --git a/lib/trino-parquet/pom.xml b/lib/trino-parquet/pom.xml
index 844f44fbf7d2..03572a4ec742 100644
--- a/lib/trino-parquet/pom.xml
+++ b/lib/trino-parquet/pom.xml
@@ -121,6 +121,12 @@
runtime
+
+ io.airlift
+ junit-extensions
+ test
+
+
io.airlift
testing
diff --git a/plugin/trino-accumulo-iterators/pom.xml b/plugin/trino-accumulo-iterators/pom.xml
index 931ec36d34a3..2110c6a7c212 100644
--- a/plugin/trino-accumulo-iterators/pom.xml
+++ b/plugin/trino-accumulo-iterators/pom.xml
@@ -44,6 +44,12 @@
+
+ io.airlift
+ junit-extensions
+ test
+
+
org.junit.jupiter
junit-jupiter-api
diff --git a/plugin/trino-accumulo/pom.xml b/plugin/trino-accumulo/pom.xml
index b65e1181e0bc..a311f2d1853e 100644
--- a/plugin/trino-accumulo/pom.xml
+++ b/plugin/trino-accumulo/pom.xml
@@ -237,6 +237,12 @@
test
+
+ io.airlift
+ junit-extensions
+ test
+
+
io.trino
trino-main
diff --git a/plugin/trino-accumulo/src/test/java/io/trino/plugin/accumulo/TestAccumuloConnectorTest.java b/plugin/trino-accumulo/src/test/java/io/trino/plugin/accumulo/TestAccumuloConnectorTest.java
index 86f8a1505afa..dd5b96d8c4d1 100644
--- a/plugin/trino-accumulo/src/test/java/io/trino/plugin/accumulo/TestAccumuloConnectorTest.java
+++ b/plugin/trino-accumulo/src/test/java/io/trino/plugin/accumulo/TestAccumuloConnectorTest.java
@@ -182,6 +182,7 @@ public void testInsertDuplicateRows()
}
}
+ @Test
@Override
public void testShowColumns()
{
diff --git a/plugin/trino-accumulo/src/test/java/io/trino/plugin/accumulo/serializers/TestStringRowSerializer.java b/plugin/trino-accumulo/src/test/java/io/trino/plugin/accumulo/serializers/TestStringRowSerializer.java
index 5818ecda2b77..99433934cbdc 100644
--- a/plugin/trino-accumulo/src/test/java/io/trino/plugin/accumulo/serializers/TestStringRowSerializer.java
+++ b/plugin/trino-accumulo/src/test/java/io/trino/plugin/accumulo/serializers/TestStringRowSerializer.java
@@ -13,6 +13,8 @@
*/
package io.trino.plugin.accumulo.serializers;
+import org.junit.jupiter.api.Test;
+
public class TestStringRowSerializer
extends AbstractTestAccumuloRowSerializer
{
@@ -21,12 +23,14 @@ public TestStringRowSerializer()
super(StringRowSerializer.class);
}
+ @Test
@Override
public void testArray()
{
// Arrays are not supported by StringRowSerializer
}
+ @Test
@Override
public void testMap()
{
diff --git a/plugin/trino-base-jdbc/pom.xml b/plugin/trino-base-jdbc/pom.xml
index deba193b7aa6..9de2b6880270 100644
--- a/plugin/trino-base-jdbc/pom.xml
+++ b/plugin/trino-base-jdbc/pom.xml
@@ -176,6 +176,12 @@
test
+
+ io.airlift
+ junit-extensions
+ test
+
+
io.airlift
testing
diff --git a/plugin/trino-base-jdbc/src/test/java/io/trino/plugin/jdbc/TestJdbcConnectorTest.java b/plugin/trino-base-jdbc/src/test/java/io/trino/plugin/jdbc/TestJdbcConnectorTest.java
index 6c0c5d820321..ce5961f0ab33 100644
--- a/plugin/trino-base-jdbc/src/test/java/io/trino/plugin/jdbc/TestJdbcConnectorTest.java
+++ b/plugin/trino-base-jdbc/src/test/java/io/trino/plugin/jdbc/TestJdbcConnectorTest.java
@@ -76,10 +76,10 @@ protected boolean hasBehavior(TestingConnectorBehavior connectorBehavior)
}
@Override
- @Test
+ @org.junit.jupiter.api.Test
public void testLargeIn()
{
- throw new SkipException("This test should pass with H2, but takes too long (currently over a mninute) and is not that important");
+ // This test should pass with H2, but takes too long (currently over a mninute) and is not that important
}
@Override
diff --git a/plugin/trino-bigquery/pom.xml b/plugin/trino-bigquery/pom.xml
index c0979dd60cfa..df2143dc7ce7 100644
--- a/plugin/trino-bigquery/pom.xml
+++ b/plugin/trino-bigquery/pom.xml
@@ -352,6 +352,12 @@
runtime
+
+ io.airlift
+ junit-extensions
+ test
+
+
io.airlift
testing
diff --git a/plugin/trino-blackhole/pom.xml b/plugin/trino-blackhole/pom.xml
index e5ec70a4d0d8..a0a9f31c68d1 100644
--- a/plugin/trino-blackhole/pom.xml
+++ b/plugin/trino-blackhole/pom.xml
@@ -86,6 +86,12 @@
runtime
+
+ io.airlift
+ junit-extensions
+ test
+
+
io.airlift
testing
diff --git a/plugin/trino-cassandra/pom.xml b/plugin/trino-cassandra/pom.xml
index 9edd67093e28..79fb66d37168 100644
--- a/plugin/trino-cassandra/pom.xml
+++ b/plugin/trino-cassandra/pom.xml
@@ -161,6 +161,12 @@
runtime
+
+ io.airlift
+ junit-extensions
+ test
+
+
io.airlift
testing
diff --git a/plugin/trino-cassandra/src/test/java/io/trino/plugin/cassandra/TestCassandraConnectorTest.java b/plugin/trino-cassandra/src/test/java/io/trino/plugin/cassandra/TestCassandraConnectorTest.java
index 9659141cfeb2..be2e072870be 100644
--- a/plugin/trino-cassandra/src/test/java/io/trino/plugin/cassandra/TestCassandraConnectorTest.java
+++ b/plugin/trino-cassandra/src/test/java/io/trino/plugin/cassandra/TestCassandraConnectorTest.java
@@ -171,7 +171,7 @@ protected String dataMappingTableName(String trinoTypeName)
return "tmp_trino_" + System.nanoTime();
}
- @Test
+ @org.junit.jupiter.api.Test
@Override
public void testShowColumns()
{
diff --git a/plugin/trino-clickhouse/pom.xml b/plugin/trino-clickhouse/pom.xml
index 33ce362520e9..2ee0c9fce328 100644
--- a/plugin/trino-clickhouse/pom.xml
+++ b/plugin/trino-clickhouse/pom.xml
@@ -102,6 +102,12 @@
runtime
+
+ io.airlift
+ junit-extensions
+ test
+
+
io.airlift
testing
diff --git a/plugin/trino-delta-lake/pom.xml b/plugin/trino-delta-lake/pom.xml
index 97c457c75554..382149ddc40d 100644
--- a/plugin/trino-delta-lake/pom.xml
+++ b/plugin/trino-delta-lake/pom.xml
@@ -292,6 +292,12 @@
test
+
+ io.airlift
+ junit-extensions
+ test
+
+
io.airlift
testing
diff --git a/plugin/trino-druid/pom.xml b/plugin/trino-druid/pom.xml
index 79bd05c93950..e80fdb8769de 100644
--- a/plugin/trino-druid/pom.xml
+++ b/plugin/trino-druid/pom.xml
@@ -118,6 +118,12 @@
test
+
+ io.airlift
+ junit-extensions
+ test
+
+
io.airlift
testing
diff --git a/plugin/trino-druid/src/test/java/io/trino/plugin/druid/TestDruidConnectorTest.java b/plugin/trino-druid/src/test/java/io/trino/plugin/druid/TestDruidConnectorTest.java
index 64646e6802b8..e9bf979ef3a4 100644
--- a/plugin/trino-druid/src/test/java/io/trino/plugin/druid/TestDruidConnectorTest.java
+++ b/plugin/trino-druid/src/test/java/io/trino/plugin/druid/TestDruidConnectorTest.java
@@ -127,6 +127,7 @@ protected MaterializedResult getDescribeOrdersResult()
.build();
}
+ @org.junit.jupiter.api.Test
@Override
public void testShowColumns()
{
diff --git a/plugin/trino-elasticsearch/pom.xml b/plugin/trino-elasticsearch/pom.xml
index 572da9ddf3fc..ecd880575df1 100644
--- a/plugin/trino-elasticsearch/pom.xml
+++ b/plugin/trino-elasticsearch/pom.xml
@@ -274,6 +274,12 @@
test
+
+ io.airlift
+ junit-extensions
+ test
+
+
io.airlift
testing
diff --git a/plugin/trino-elasticsearch/src/test/java/io/trino/plugin/elasticsearch/BaseElasticsearchConnectorTest.java b/plugin/trino-elasticsearch/src/test/java/io/trino/plugin/elasticsearch/BaseElasticsearchConnectorTest.java
index 5e6d490b03b0..5b53be176e71 100644
--- a/plugin/trino-elasticsearch/src/test/java/io/trino/plugin/elasticsearch/BaseElasticsearchConnectorTest.java
+++ b/plugin/trino-elasticsearch/src/test/java/io/trino/plugin/elasticsearch/BaseElasticsearchConnectorTest.java
@@ -212,7 +212,7 @@ public void testShowCreateTable()
")");
}
- @Test
+ @org.junit.jupiter.api.Test
@Override
public void testShowColumns()
{
diff --git a/plugin/trino-example-http/pom.xml b/plugin/trino-example-http/pom.xml
index 6211859a70d9..c890445fe31b 100644
--- a/plugin/trino-example-http/pom.xml
+++ b/plugin/trino-example-http/pom.xml
@@ -106,6 +106,12 @@
test
+
+ io.airlift
+ junit-extensions
+ test
+
+
io.airlift
testing
diff --git a/plugin/trino-example-jdbc/pom.xml b/plugin/trino-example-jdbc/pom.xml
index dc99a8264d83..6d39c3814e7c 100644
--- a/plugin/trino-example-jdbc/pom.xml
+++ b/plugin/trino-example-jdbc/pom.xml
@@ -103,6 +103,12 @@
test
+
+ io.airlift
+ junit-extensions
+ test
+
+
io.airlift
testing
diff --git a/plugin/trino-exchange-filesystem/pom.xml b/plugin/trino-exchange-filesystem/pom.xml
index 20867d7dd10f..bf45520b6f20 100644
--- a/plugin/trino-exchange-filesystem/pom.xml
+++ b/plugin/trino-exchange-filesystem/pom.xml
@@ -339,6 +339,12 @@
provided
+
+ io.airlift
+ junit-extensions
+ test
+
+
io.trino
trino-testing-containers
diff --git a/plugin/trino-exchange-hdfs/pom.xml b/plugin/trino-exchange-hdfs/pom.xml
index c3d42c77f0be..62ba9c057140 100644
--- a/plugin/trino-exchange-hdfs/pom.xml
+++ b/plugin/trino-exchange-hdfs/pom.xml
@@ -114,6 +114,12 @@
provided
+
+ io.airlift
+ junit-extensions
+ test
+
+
org.junit.jupiter
junit-jupiter-api
diff --git a/plugin/trino-geospatial/pom.xml b/plugin/trino-geospatial/pom.xml
index 57c0b54ac8a6..9e22d8d9f0c4 100644
--- a/plugin/trino-geospatial/pom.xml
+++ b/plugin/trino-geospatial/pom.xml
@@ -90,6 +90,12 @@
test
+
+ io.airlift
+ junit-extensions
+ test
+
+
io.airlift
log
diff --git a/plugin/trino-google-sheets/pom.xml b/plugin/trino-google-sheets/pom.xml
index 93f22a7da557..067fcdf824d3 100644
--- a/plugin/trino-google-sheets/pom.xml
+++ b/plugin/trino-google-sheets/pom.xml
@@ -167,6 +167,12 @@
test
+
+ io.airlift
+ junit-extensions
+ test
+
+
io.airlift
testing
diff --git a/plugin/trino-hive/pom.xml b/plugin/trino-hive/pom.xml
index 23d6d61a5c9a..e528564d6074 100644
--- a/plugin/trino-hive/pom.xml
+++ b/plugin/trino-hive/pom.xml
@@ -311,6 +311,12 @@
runtime
+
+ io.airlift
+ junit-extensions
+ test
+
+
io.airlift
testing
diff --git a/plugin/trino-http-event-listener/pom.xml b/plugin/trino-http-event-listener/pom.xml
index d2aa6b6bcda0..f656b3eb54c0 100644
--- a/plugin/trino-http-event-listener/pom.xml
+++ b/plugin/trino-http-event-listener/pom.xml
@@ -127,6 +127,12 @@
test
+
+ io.airlift
+ junit-extensions
+ test
+
+
io.trino
trino-main
diff --git a/plugin/trino-hudi/pom.xml b/plugin/trino-hudi/pom.xml
index ee0dc3134e6f..79eac7837530 100644
--- a/plugin/trino-hudi/pom.xml
+++ b/plugin/trino-hudi/pom.xml
@@ -199,6 +199,12 @@
runtime
+
+ io.airlift
+ junit-extensions
+ test
+
+
io.airlift
testing
diff --git a/plugin/trino-iceberg/pom.xml b/plugin/trino-iceberg/pom.xml
index ef1660635d80..f4007b5ca2ff 100644
--- a/plugin/trino-iceberg/pom.xml
+++ b/plugin/trino-iceberg/pom.xml
@@ -404,6 +404,12 @@
test
+
+ io.airlift
+ junit-extensions
+ test
+
+
io.airlift
testing
diff --git a/plugin/trino-iceberg/src/test/java/io/trino/plugin/iceberg/TestIcebergMinioAvroConnectorSmokeTest.java b/plugin/trino-iceberg/src/test/java/io/trino/plugin/iceberg/TestIcebergMinioAvroConnectorSmokeTest.java
index dcfbdfd2e7ea..98fb44016c7f 100644
--- a/plugin/trino-iceberg/src/test/java/io/trino/plugin/iceberg/TestIcebergMinioAvroConnectorSmokeTest.java
+++ b/plugin/trino-iceberg/src/test/java/io/trino/plugin/iceberg/TestIcebergMinioAvroConnectorSmokeTest.java
@@ -14,9 +14,10 @@
package io.trino.plugin.iceberg;
import io.trino.filesystem.Location;
-import org.testng.SkipException;
+import org.junit.jupiter.api.Test;
import static org.apache.iceberg.FileFormat.AVRO;
+import static org.junit.jupiter.api.Assumptions.abort;
public class TestIcebergMinioAvroConnectorSmokeTest
extends BaseIcebergMinioConnectorSmokeTest
@@ -26,16 +27,18 @@ public TestIcebergMinioAvroConnectorSmokeTest()
super(AVRO);
}
+ @Test
@Override
public void testSortedNationTable()
{
- throw new SkipException("Avro does not support file sorting");
+ abort("Avro does not support file sorting");
}
+ @Test
@Override
public void testFileSortingWithLargerTable()
{
- throw new SkipException("Avro does not support file sorting");
+ abort("Avro does not support file sorting");
}
@Override
diff --git a/plugin/trino-jmx/pom.xml b/plugin/trino-jmx/pom.xml
index e230c1eabd87..3b5cf7a9671b 100644
--- a/plugin/trino-jmx/pom.xml
+++ b/plugin/trino-jmx/pom.xml
@@ -115,6 +115,12 @@
runtime
+
+ io.airlift
+ junit-extensions
+ test
+
+
io.airlift
testing
diff --git a/plugin/trino-kafka/pom.xml b/plugin/trino-kafka/pom.xml
index da60bb5bf47e..422abe94864e 100644
--- a/plugin/trino-kafka/pom.xml
+++ b/plugin/trino-kafka/pom.xml
@@ -204,6 +204,12 @@
test
+
+ io.airlift
+ junit-extensions
+ test
+
+
io.airlift
testing
diff --git a/plugin/trino-kudu/pom.xml b/plugin/trino-kudu/pom.xml
index f10cca205ad4..c819cb8294b1 100644
--- a/plugin/trino-kudu/pom.xml
+++ b/plugin/trino-kudu/pom.xml
@@ -137,6 +137,12 @@
runtime
+
+ io.airlift
+ junit-extensions
+ test
+
+
io.airlift
testing
@@ -198,6 +204,7 @@
annotations
test
+
org.junit.jupiter
junit-jupiter-api
diff --git a/plugin/trino-local-file/pom.xml b/plugin/trino-local-file/pom.xml
index d1a97d452bb2..45e6331ff6b5 100644
--- a/plugin/trino-local-file/pom.xml
+++ b/plugin/trino-local-file/pom.xml
@@ -96,6 +96,12 @@
runtime
+
+ io.airlift
+ junit-extensions
+ test
+
+
io.airlift
testing
diff --git a/plugin/trino-ml/pom.xml b/plugin/trino-ml/pom.xml
index d9f06ed6c2bd..471a7932afa6 100644
--- a/plugin/trino-ml/pom.xml
+++ b/plugin/trino-ml/pom.xml
@@ -92,6 +92,12 @@
provided
+
+ io.airlift
+ junit-extensions
+ test
+
+
io.trino
trino-client
diff --git a/plugin/trino-mongodb/pom.xml b/plugin/trino-mongodb/pom.xml
index a47925dd349e..fc4980e14b07 100644
--- a/plugin/trino-mongodb/pom.xml
+++ b/plugin/trino-mongodb/pom.xml
@@ -133,6 +133,12 @@
runtime
+
+ io.airlift
+ junit-extensions
+ test
+
+
io.airlift
testing
diff --git a/plugin/trino-mysql-event-listener/pom.xml b/plugin/trino-mysql-event-listener/pom.xml
index 24e151da8f8f..370c85fe3ab5 100644
--- a/plugin/trino-mysql-event-listener/pom.xml
+++ b/plugin/trino-mysql-event-listener/pom.xml
@@ -110,6 +110,12 @@
runtime
+
+ io.airlift
+ junit-extensions
+ test
+
+
org.assertj
assertj-core
diff --git a/plugin/trino-mysql/pom.xml b/plugin/trino-mysql/pom.xml
index 368323ba3e22..7e33b928c6b0 100644
--- a/plugin/trino-mysql/pom.xml
+++ b/plugin/trino-mysql/pom.xml
@@ -115,6 +115,12 @@
runtime
+
+ io.airlift
+ junit-extensions
+ test
+
+
io.airlift
testing
diff --git a/plugin/trino-mysql/src/test/java/io/trino/plugin/mysql/BaseMySqlConnectorTest.java b/plugin/trino-mysql/src/test/java/io/trino/plugin/mysql/BaseMySqlConnectorTest.java
index 5765bc830fa8..679dd31e4c40 100644
--- a/plugin/trino-mysql/src/test/java/io/trino/plugin/mysql/BaseMySqlConnectorTest.java
+++ b/plugin/trino-mysql/src/test/java/io/trino/plugin/mysql/BaseMySqlConnectorTest.java
@@ -103,6 +103,7 @@ protected TestTable createTableWithUnsupportedColumn()
"(one bigint, two decimal(50,0), three varchar(10))");
}
+ @org.junit.jupiter.api.Test
@Override
public void testShowColumns()
{
diff --git a/plugin/trino-mysql/src/test/java/io/trino/plugin/mysql/TestMySqlAutomaticJoinPushdown.java b/plugin/trino-mysql/src/test/java/io/trino/plugin/mysql/TestMySqlAutomaticJoinPushdown.java
index 3e21ce44d9fc..e579751c97cd 100644
--- a/plugin/trino-mysql/src/test/java/io/trino/plugin/mysql/TestMySqlAutomaticJoinPushdown.java
+++ b/plugin/trino-mysql/src/test/java/io/trino/plugin/mysql/TestMySqlAutomaticJoinPushdown.java
@@ -20,10 +20,11 @@
import io.trino.testing.QueryRunner;
import org.jdbi.v3.core.Handle;
import org.jdbi.v3.core.Jdbi;
-import org.testng.SkipException;
+import org.junit.jupiter.api.Test;
import static io.trino.plugin.mysql.MySqlQueryRunner.createMySqlQueryRunner;
import static java.lang.String.format;
+import static org.junit.jupiter.api.Assumptions.abort;
public class TestMySqlAutomaticJoinPushdown
extends BaseAutomaticJoinPushdownTest
@@ -48,10 +49,11 @@ protected QueryRunner createQueryRunner()
ImmutableList.of());
}
+ @Test
@Override
public void testJoinPushdownWithEmptyStatsInitially()
{
- throw new SkipException("MySQL statistics are automatically collected");
+ abort("MySQL statistics are automatically collected");
}
@Override
diff --git a/plugin/trino-oracle/pom.xml b/plugin/trino-oracle/pom.xml
index 1f3216b869d4..5afdbc6bf302 100644
--- a/plugin/trino-oracle/pom.xml
+++ b/plugin/trino-oracle/pom.xml
@@ -131,6 +131,12 @@
runtime
+
+ io.airlift
+ junit-extensions
+ test
+
+
io.airlift
testing
diff --git a/plugin/trino-oracle/src/test/java/io/trino/plugin/oracle/BaseOracleConnectorTest.java b/plugin/trino-oracle/src/test/java/io/trino/plugin/oracle/BaseOracleConnectorTest.java
index 4f0da8494551..0d9834820a8d 100644
--- a/plugin/trino-oracle/src/test/java/io/trino/plugin/oracle/BaseOracleConnectorTest.java
+++ b/plugin/trino-oracle/src/test/java/io/trino/plugin/oracle/BaseOracleConnectorTest.java
@@ -115,13 +115,14 @@ protected TestTable createTableWithUnsupportedColumn()
"(one NUMBER(19), two NUMBER, three VARCHAR2(10 CHAR))");
}
- @Test
+ @org.junit.jupiter.api.Test
@Override
public void testShowColumns()
{
assertThat(query("SHOW COLUMNS FROM orders")).matches(getDescribeOrdersResult());
}
+ @org.junit.jupiter.api.Test
@Override
public void testInformationSchemaFiltering()
{
diff --git a/plugin/trino-pinot/pom.xml b/plugin/trino-pinot/pom.xml
index 9f4de5c9f1cf..1142fcd6039c 100755
--- a/plugin/trino-pinot/pom.xml
+++ b/plugin/trino-pinot/pom.xml
@@ -534,6 +534,12 @@
runtime
+
+ io.airlift
+ junit-extensions
+ test
+
+
io.airlift
testing
diff --git a/plugin/trino-postgresql/pom.xml b/plugin/trino-postgresql/pom.xml
index 6e54672f333e..32b103e9b4fb 100644
--- a/plugin/trino-postgresql/pom.xml
+++ b/plugin/trino-postgresql/pom.xml
@@ -128,6 +128,12 @@
runtime
+
+ io.airlift
+ junit-extensions
+ test
+
+
io.airlift
testing
diff --git a/plugin/trino-postgresql/src/test/java/io/trino/plugin/postgresql/TestPostgreSqlAutomaticJoinPushdown.java b/plugin/trino-postgresql/src/test/java/io/trino/plugin/postgresql/TestPostgreSqlAutomaticJoinPushdown.java
index d81626fe0f19..2d5e084cb759 100644
--- a/plugin/trino-postgresql/src/test/java/io/trino/plugin/postgresql/TestPostgreSqlAutomaticJoinPushdown.java
+++ b/plugin/trino-postgresql/src/test/java/io/trino/plugin/postgresql/TestPostgreSqlAutomaticJoinPushdown.java
@@ -16,6 +16,7 @@
import io.trino.plugin.jdbc.BaseAutomaticJoinPushdownTest;
import io.trino.testing.QueryRunner;
import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
import java.util.List;
import java.util.Map;
@@ -39,6 +40,7 @@ protected QueryRunner createQueryRunner()
List.of());
}
+ @Test
@Override
@Disabled
public void testJoinPushdownWithEmptyStatsInitially()
diff --git a/plugin/trino-redis/pom.xml b/plugin/trino-redis/pom.xml
index c43ea2b96daf..a31b86ad8c70 100644
--- a/plugin/trino-redis/pom.xml
+++ b/plugin/trino-redis/pom.xml
@@ -144,6 +144,12 @@
runtime
+
+ io.airlift
+ junit-extensions
+ test
+
+
io.airlift
testing
diff --git a/plugin/trino-redshift/pom.xml b/plugin/trino-redshift/pom.xml
index 094c3ed89d85..7c342092324a 100644
--- a/plugin/trino-redshift/pom.xml
+++ b/plugin/trino-redshift/pom.xml
@@ -113,6 +113,12 @@
runtime
+
+ io.airlift
+ junit-extensions
+ test
+
+
io.airlift
testing
diff --git a/plugin/trino-sqlserver/pom.xml b/plugin/trino-sqlserver/pom.xml
index 1f0a4edf2d90..d2c25eece9dd 100644
--- a/plugin/trino-sqlserver/pom.xml
+++ b/plugin/trino-sqlserver/pom.xml
@@ -130,6 +130,12 @@
runtime
+
+ io.airlift
+ junit-extensions
+ test
+
+
io.airlift
testing
diff --git a/plugin/trino-teradata-functions/pom.xml b/plugin/trino-teradata-functions/pom.xml
index abec6a34a24a..a10a6944a6bb 100644
--- a/plugin/trino-teradata-functions/pom.xml
+++ b/plugin/trino-teradata-functions/pom.xml
@@ -55,6 +55,12 @@
provided
+
+ io.airlift
+ junit-extensions
+ test
+
+
io.trino
trino-main
diff --git a/plugin/trino-thrift/pom.xml b/plugin/trino-thrift/pom.xml
index 87e1cdbe8778..e0f1a64d71c8 100644
--- a/plugin/trino-thrift/pom.xml
+++ b/plugin/trino-thrift/pom.xml
@@ -169,6 +169,12 @@
runtime
+
+ io.airlift
+ junit-extensions
+ test
+
+
io.airlift
testing
diff --git a/plugin/trino-thrift/src/test/java/io/trino/plugin/thrift/integration/TestThriftConnectorTest.java b/plugin/trino-thrift/src/test/java/io/trino/plugin/thrift/integration/TestThriftConnectorTest.java
index 3058586ac112..922894af3c44 100644
--- a/plugin/trino-thrift/src/test/java/io/trino/plugin/thrift/integration/TestThriftConnectorTest.java
+++ b/plugin/trino-thrift/src/test/java/io/trino/plugin/thrift/integration/TestThriftConnectorTest.java
@@ -18,7 +18,7 @@
import io.trino.testing.MaterializedResult;
import io.trino.testing.QueryRunner;
import io.trino.testing.TestingConnectorBehavior;
-import org.testng.annotations.Test;
+import org.junit.jupiter.api.Test;
import static io.trino.plugin.thrift.integration.ThriftQueryRunner.createThriftQueryRunner;
import static io.trino.spi.type.VarcharType.VARCHAR;
diff --git a/plugin/trino-thrift/src/test/java/io/trino/plugin/thrift/integration/TestThriftDistributedQueriesIndexed.java b/plugin/trino-thrift/src/test/java/io/trino/plugin/thrift/integration/TestThriftDistributedQueriesIndexed.java
index f51a48346500..722d45d44b09 100644
--- a/plugin/trino-thrift/src/test/java/io/trino/plugin/thrift/integration/TestThriftDistributedQueriesIndexed.java
+++ b/plugin/trino-thrift/src/test/java/io/trino/plugin/thrift/integration/TestThriftDistributedQueriesIndexed.java
@@ -16,6 +16,7 @@
import com.google.common.collect.ImmutableMap;
import io.trino.testing.AbstractTestIndexedQueries;
import io.trino.testing.QueryRunner;
+import org.junit.jupiter.api.Test;
import static io.trino.plugin.thrift.integration.ThriftQueryRunner.createThriftQueryRunner;
@@ -29,6 +30,7 @@ protected QueryRunner createQueryRunner()
return createThriftQueryRunner(2, true, ImmutableMap.of());
}
+ @Test
@Override
public void testExampleSystemTable()
{
diff --git a/plugin/trino-tpcds/pom.xml b/plugin/trino-tpcds/pom.xml
index 8ac531e100bd..f605d51db36c 100644
--- a/plugin/trino-tpcds/pom.xml
+++ b/plugin/trino-tpcds/pom.xml
@@ -127,6 +127,12 @@
test
+
+ io.airlift
+ junit-extensions
+ test
+
+
io.trino
trino-main
diff --git a/plugin/trino-tpch/pom.xml b/plugin/trino-tpch/pom.xml
index 70c613fae2ec..263457cbc6da 100644
--- a/plugin/trino-tpch/pom.xml
+++ b/plugin/trino-tpch/pom.xml
@@ -78,6 +78,12 @@
provided
+
+ io.airlift
+ junit-extensions
+ test
+
+
org.assertj
assertj-core
diff --git a/pom.xml b/pom.xml
index 1a8977a1d2fb..2536a5b970c5 100644
--- a/pom.xml
+++ b/pom.xml
@@ -217,6 +217,7 @@
+
com.azure
azure-sdk-bom
@@ -632,6 +633,11 @@
joni
2.1.5.3
+
+ io.airlift
+ junit-extensions
+ 1
+
io.airlift
@@ -2445,7 +2451,8 @@
maven-surefire-plugin
- junit.jupiter.execution.timeout.thread.mode.default = SEPARATE_THREAD
+ junit.jupiter.execution.timeout.thread.mode.default = SEPARATE_THREAD
+ junit.jupiter.extensions.autodetection.enabled = true
diff --git a/service/trino-proxy/pom.xml b/service/trino-proxy/pom.xml
index 27922f0337fd..703caa588f97 100644
--- a/service/trino-proxy/pom.xml
+++ b/service/trino-proxy/pom.xml
@@ -158,6 +158,12 @@
jmxutils
+
+ io.airlift
+ junit-extensions
+ test
+
+
io.trino
trino-blackhole
diff --git a/service/trino-verifier/pom.xml b/service/trino-verifier/pom.xml
index 82b61b75410f..e09ee497ac02 100644
--- a/service/trino-verifier/pom.xml
+++ b/service/trino-verifier/pom.xml
@@ -135,6 +135,12 @@
test
+
+ io.airlift
+ junit-extensions
+ test
+
+
io.airlift
testing
diff --git a/testing/trino-benchmark/pom.xml b/testing/trino-benchmark/pom.xml
index e2a6c38d7d5f..f19d28b2a266 100644
--- a/testing/trino-benchmark/pom.xml
+++ b/testing/trino-benchmark/pom.xml
@@ -110,6 +110,12 @@
runtime
+
+ io.airlift
+ junit-extensions
+ test
+
+
io.trino
trino-memory
diff --git a/testing/trino-benchto-benchmarks/pom.xml b/testing/trino-benchto-benchmarks/pom.xml
index 5dcb9e69ca0e..efdafe52fef1 100644
--- a/testing/trino-benchto-benchmarks/pom.xml
+++ b/testing/trino-benchto-benchmarks/pom.xml
@@ -44,6 +44,12 @@
runtime
+
+ io.airlift
+ junit-extensions
+ test
+
+
org.junit.jupiter
junit-jupiter-api
diff --git a/testing/trino-faulttolerant-tests/pom.xml b/testing/trino-faulttolerant-tests/pom.xml
index 63e893b0e819..354564124ad5 100644
--- a/testing/trino-faulttolerant-tests/pom.xml
+++ b/testing/trino-faulttolerant-tests/pom.xml
@@ -122,6 +122,12 @@
test
+
+ io.airlift
+ junit-extensions
+ test
+
+
io.airlift
testing
diff --git a/testing/trino-faulttolerant-tests/src/test/java/io/trino/faulttolerant/TestDistributedFaultTolerantEngineOnlyQueries.java b/testing/trino-faulttolerant-tests/src/test/java/io/trino/faulttolerant/TestDistributedFaultTolerantEngineOnlyQueries.java
index 5219d490a7fe..278eb5013cf1 100644
--- a/testing/trino-faulttolerant-tests/src/test/java/io/trino/faulttolerant/TestDistributedFaultTolerantEngineOnlyQueries.java
+++ b/testing/trino-faulttolerant-tests/src/test/java/io/trino/faulttolerant/TestDistributedFaultTolerantEngineOnlyQueries.java
@@ -84,6 +84,7 @@ public void testExplainAnalyzeVerbose()
// Spooling exchange does not prove output buffer utilization histogram
}
+ @Test
@Override
@Disabled
public void testSelectiveLimit()
diff --git a/testing/trino-faulttolerant-tests/src/test/java/io/trino/faulttolerant/delta/TestDeltaFaultTolerantExecutionTest.java b/testing/trino-faulttolerant-tests/src/test/java/io/trino/faulttolerant/delta/TestDeltaFaultTolerantExecutionTest.java
index c0b98e1827cd..bc20cc405e0b 100644
--- a/testing/trino-faulttolerant-tests/src/test/java/io/trino/faulttolerant/delta/TestDeltaFaultTolerantExecutionTest.java
+++ b/testing/trino-faulttolerant-tests/src/test/java/io/trino/faulttolerant/delta/TestDeltaFaultTolerantExecutionTest.java
@@ -21,6 +21,7 @@
import io.trino.testing.DistributedQueryRunner;
import io.trino.testing.FaultTolerantExecutionConnectorTestHelper;
import io.trino.testing.QueryRunner;
+import org.junit.jupiter.api.Test;
import static io.trino.plugin.deltalake.DeltaLakeQueryRunner.DELTA_CATALOG;
import static io.trino.plugin.deltalake.DeltaLakeQueryRunner.createS3DeltaLakeQueryRunner;
@@ -66,6 +67,7 @@ protected QueryRunner createQueryRunner()
return runner;
}
+ @Test
@Override
public void testExecutePreferredWritePartitioningSkewMitigation()
{
diff --git a/testing/trino-faulttolerant-tests/src/test/java/io/trino/faulttolerant/iceberg/TestIcebergFaultTolerantExecutionTest.java b/testing/trino-faulttolerant-tests/src/test/java/io/trino/faulttolerant/iceberg/TestIcebergFaultTolerantExecutionTest.java
index 238ecbb22795..4b3eaeb2ffb5 100644
--- a/testing/trino-faulttolerant-tests/src/test/java/io/trino/faulttolerant/iceberg/TestIcebergFaultTolerantExecutionTest.java
+++ b/testing/trino-faulttolerant-tests/src/test/java/io/trino/faulttolerant/iceberg/TestIcebergFaultTolerantExecutionTest.java
@@ -19,6 +19,7 @@
import io.trino.plugin.iceberg.IcebergQueryRunner;
import io.trino.testing.FaultTolerantExecutionConnectorTestHelper;
import io.trino.testing.QueryRunner;
+import org.junit.jupiter.api.Test;
import static io.trino.plugin.exchange.filesystem.containers.MinioStorage.getExchangeManagerProperties;
import static io.trino.testing.TestingNames.randomNameSuffix;
@@ -48,6 +49,7 @@ protected QueryRunner createQueryRunner()
.build();
}
+ @Test
@Override
public void testExecutePreferredWritePartitioningSkewMitigation()
{
diff --git a/testing/trino-plugin-reader/pom.xml b/testing/trino-plugin-reader/pom.xml
index 55af0e70e681..5b6d123b5142 100644
--- a/testing/trino-plugin-reader/pom.xml
+++ b/testing/trino-plugin-reader/pom.xml
@@ -64,6 +64,12 @@
test
+
+ io.airlift
+ junit-extensions
+ test
+
+
io.airlift
testing
diff --git a/testing/trino-server-dev/pom.xml b/testing/trino-server-dev/pom.xml
index 640062e6c071..9f4dd6d4e245 100644
--- a/testing/trino-server-dev/pom.xml
+++ b/testing/trino-server-dev/pom.xml
@@ -68,6 +68,12 @@
runtime
+
+ io.airlift
+ junit-extensions
+ test
+
+
org.junit.jupiter
junit-jupiter-api
diff --git a/testing/trino-testing-containers/pom.xml b/testing/trino-testing-containers/pom.xml
index 034276c31326..2347d29dc906 100644
--- a/testing/trino-testing-containers/pom.xml
+++ b/testing/trino-testing-containers/pom.xml
@@ -72,6 +72,12 @@
testcontainers
+
+ io.airlift
+ junit-extensions
+ test
+
+
org.junit.jupiter
junit-jupiter-api
diff --git a/testing/trino-testing-kafka/pom.xml b/testing/trino-testing-kafka/pom.xml
index b8a50cad1125..085efd7d5b84 100644
--- a/testing/trino-testing-kafka/pom.xml
+++ b/testing/trino-testing-kafka/pom.xml
@@ -67,6 +67,12 @@
+
+ io.airlift
+ junit-extensions
+ test
+
+
org.junit.jupiter
junit-jupiter-api
diff --git a/testing/trino-testing-resources/pom.xml b/testing/trino-testing-resources/pom.xml
index 8ab17ffbf1dc..74dce129b6f1 100644
--- a/testing/trino-testing-resources/pom.xml
+++ b/testing/trino-testing-resources/pom.xml
@@ -16,6 +16,12 @@
+
+
+ io.airlift
+ junit-extensions
+ test
+
org.junit.jupiter
junit-jupiter-api
diff --git a/testing/trino-testing/pom.xml b/testing/trino-testing/pom.xml
index cc70509389fc..fd0e6f87fef4 100644
--- a/testing/trino-testing/pom.xml
+++ b/testing/trino-testing/pom.xml
@@ -196,6 +196,12 @@
runtime
+
+ io.airlift
+ junit-extensions
+ test
+
+
org.openjdk.jmh
diff --git a/testing/trino-tests/pom.xml b/testing/trino-tests/pom.xml
index 1a3a24ce8621..3074bd81ec12 100644
--- a/testing/trino-tests/pom.xml
+++ b/testing/trino-tests/pom.xml
@@ -140,6 +140,12 @@
test
+
+ io.airlift
+ junit-extensions
+ test
+
+
io.airlift
testing