diff --git a/regression-test/suites/db_sync/alt_prop/row_store/test_ds_alt_prop_row_store.groovy b/regression-test/suites/db_sync/alt_prop/row_store/test_ds_alt_prop_row_store.groovy index 960d8d4d..addfe403 100644 --- a/regression-test/suites/db_sync/alt_prop/row_store/test_ds_alt_prop_row_store.groovy +++ b/regression-test/suites/db_sync/alt_prop/row_store/test_ds_alt_prop_row_store.groovy @@ -19,6 +19,13 @@ suite("test_ds_alt_prop_row_store") { def helper = new GroovyShell(new Binding(['suite': delegate])) .evaluate(new File("${context.config.suitePath}/../common", "helper.groovy")) + if (!helper.is_version_supported([30004, 20199, 20099])) { + // disable in 2.1/2.0 + def version = helper.upstream_version() + logger.info("skip this suite because version is not supported, upstream version ${version}") + return + } + def dbName = context.dbName def tableName = "tbl_" + helper.randomSuffix() diff --git a/regression-test/suites/db_sync/prop/row_store/test_ds_prop_row_store.groovy b/regression-test/suites/db_sync/prop/row_store/test_ds_prop_row_store.groovy index 2d507b87..6b8f8cb9 100644 --- a/regression-test/suites/db_sync/prop/row_store/test_ds_prop_row_store.groovy +++ b/regression-test/suites/db_sync/prop/row_store/test_ds_prop_row_store.groovy @@ -19,6 +19,13 @@ suite("test_ds_prop_row_store") { def helper = new GroovyShell(new Binding(['suite': delegate])) .evaluate(new File("${context.config.suitePath}/../common", "helper.groovy")) + if (!helper.is_version_supported([30004, 20199, 20099])) { + // disable in 2.1/2.0 + def version = helper.upstream_version() + logger.info("skip this suite because version is not supported, upstream version ${version}") + return + } + def dbName = context.dbName def tableName = "tbl_" + helper.randomSuffix() def test_num = 0 diff --git a/regression-test/suites/db_sync/table/res_agg_state/test_ds_tbl_res_agg_state.groovy b/regression-test/suites/db_sync/table/res_agg_state/test_ds_tbl_res_agg_state.groovy index 8f17bb1d..ef0f6423 100644 --- a/regression-test/suites/db_sync/table/res_agg_state/test_ds_tbl_res_agg_state.groovy +++ b/regression-test/suites/db_sync/table/res_agg_state/test_ds_tbl_res_agg_state.groovy @@ -18,6 +18,12 @@ suite("test_ds_tbl_res_agg_state") { def helper = new GroovyShell(new Binding(['suite': delegate])) .evaluate(new File("${context.config.suitePath}/../common", "helper.groovy")) + if (!helper.is_version_supported([30004, 20199, 20099])) { + def version = helper.upstream_version() + logger.info("skip this suite because version is not supported, upstream version ${version}") + return + } + def tableName = "tbl_" + helper.randomSuffix() def aggTableName = "agg_" + helper.randomSuffix() def test_num = 0 diff --git a/regression-test/suites/table_sync/alt_prop/row_store/test_ts_alt_prop_row_store.groovy b/regression-test/suites/table_sync/alt_prop/row_store/test_ts_alt_prop_row_store.groovy index fdaa721b..ae44071b 100644 --- a/regression-test/suites/table_sync/alt_prop/row_store/test_ts_alt_prop_row_store.groovy +++ b/regression-test/suites/table_sync/alt_prop/row_store/test_ts_alt_prop_row_store.groovy @@ -19,6 +19,13 @@ suite("test_ts_alt_prop_row_store") { def helper = new GroovyShell(new Binding(['suite': delegate])) .evaluate(new File("${context.config.suitePath}/../common", "helper.groovy")) + if (!helper.is_version_supported([30004, 20199, 20099])) { + // disable in 2.1/2.0 + def version = helper.upstream_version() + logger.info("skip this suite because version is not supported, upstream version ${version}") + return + } + def dbName = context.dbName def tableName = "tbl_" + helper.randomSuffix()