From 076a5d378dbd19951572794e0abfe200d42a3985 Mon Sep 17 00:00:00 2001 From: walter Date: Mon, 9 Sep 2024 14:52:06 +0800 Subject: [PATCH] Skip some cases doris 2.0 not supported yet (#157) --- .../suites/table-sync/test_allow_table_exists.groovy | 5 +++++ regression-test/suites/table-sync/test_bitmap_index.groovy | 2 ++ .../suites/table-sync/test_insert_overwrite.groovy | 6 ++++++ 3 files changed, 13 insertions(+) diff --git a/regression-test/suites/table-sync/test_allow_table_exists.groovy b/regression-test/suites/table-sync/test_allow_table_exists.groovy index c8716bea..9de7526e 100644 --- a/regression-test/suites/table-sync/test_allow_table_exists.groovy +++ b/regression-test/suites/table-sync/test_allow_table_exists.groovy @@ -16,6 +16,11 @@ // under the License. suite("test_allow_table_exists") { + def versions = sql_return_maparray "show variables like 'version_comment'" + if (versions[0].Value.contains('doris-2.0.')) { + logger.info("2.0 not support this case, current version is: ${versions[0].Value}") + return + } def tableName = "tbl_allow_exists_" + UUID.randomUUID().toString().replace("-", "") def syncerAddress = "127.0.0.1:9190" diff --git a/regression-test/suites/table-sync/test_bitmap_index.groovy b/regression-test/suites/table-sync/test_bitmap_index.groovy index fce03610..2f937f24 100644 --- a/regression-test/suites/table-sync/test_bitmap_index.groovy +++ b/regression-test/suites/table-sync/test_bitmap_index.groovy @@ -16,6 +16,8 @@ // under the License. suite("test_bitmap_index") { + logger.info("test bitmap index will be replaced by inverted index") + return def tableName = "tbl_bitmap_index_" + UUID.randomUUID().toString().replace("-", "") def syncerAddress = "127.0.0.1:9190" diff --git a/regression-test/suites/table-sync/test_insert_overwrite.groovy b/regression-test/suites/table-sync/test_insert_overwrite.groovy index 27bfe021..9bc8b44f 100644 --- a/regression-test/suites/table-sync/test_insert_overwrite.groovy +++ b/regression-test/suites/table-sync/test_insert_overwrite.groovy @@ -15,6 +15,12 @@ // specific language governing permissions and limitations // under the License. suite("test_insert_overwrite") { + def versions = sql_return_maparray "show variables like 'version_comment'" + if (versions[0].Value.contains('doris-2.0.')) { + logger.info("2.0 not support this case, current version is: ${versions[0].Value}") + return + } + // The doris has two kind of insert overwrite handle logic: leagcy and nereids. // The first will // 1. create temp table