diff --git a/plugin/trino-clickhouse/pom.xml b/plugin/trino-clickhouse/pom.xml index 252fa0327477..4c82e601bd1f 100644 --- a/plugin/trino-clickhouse/pom.xml +++ b/plugin/trino-clickhouse/pom.xml @@ -180,27 +180,4 @@ test - - - - default - - true - - - - - org.apache.maven.plugins - maven-surefire-plugin - - - - **/TestAltinityConnectorSmokeTest.java - - - - - - - diff --git a/plugin/trino-clickhouse/src/test/java/io/trino/plugin/clickhouse/TestAltinityConnectorSmokeTest.java b/plugin/trino-clickhouse/src/test/java/io/trino/plugin/clickhouse/TestAltinityConnectorSmokeTest.java index 640fc5a1c35d..61fec3e156d6 100644 --- a/plugin/trino-clickhouse/src/test/java/io/trino/plugin/clickhouse/TestAltinityConnectorSmokeTest.java +++ b/plugin/trino-clickhouse/src/test/java/io/trino/plugin/clickhouse/TestAltinityConnectorSmokeTest.java @@ -32,7 +32,6 @@ protected QueryRunner createQueryRunner() ImmutableMap.of(), ImmutableMap.builder() .put("clickhouse.map-string-as-varchar", "true") // To handle string types in TPCH tables as varchar instead of varbinary - .put("clickhouse.legacy-driver", "true") .buildOrThrow(), REQUIRED_TPCH_TABLES); } @@ -42,6 +41,6 @@ public void testRenameSchema() { // Override because RENAME DATABASE statement isn't supported in Altinity 20.8 assertThatThrownBy(super::testRenameSchema) - .hasMessageMatching("ClickHouse exception, code: 48,.* RENAME DATABASE is not supported.*\\n"); + .hasMessageContaining("RENAME DATABASE is not supported"); } }