From 474aac33441e754008a8408dbf156e5438c9ca7e Mon Sep 17 00:00:00 2001 From: w41ter Date: Tue, 20 Aug 2024 11:12:41 +0800 Subject: [PATCH] Fix downstream db in suites --- .../db-sync-clean-restore/test_db_sync_clean_restore.groovy | 1 + .../test_db_sync_signature_not_matched.groovy | 1 + .../suites/table-sync/test_restore_clean_partitions.groovy | 1 + 3 files changed, 3 insertions(+) diff --git a/regression-test/suites/db-sync-clean-restore/test_db_sync_clean_restore.groovy b/regression-test/suites/db-sync-clean-restore/test_db_sync_clean_restore.groovy index ee952c04..14ec77d6 100644 --- a/regression-test/suites/db-sync-clean-restore/test_db_sync_clean_restore.groovy +++ b/regression-test/suites/db-sync-clean-restore/test_db_sync_clean_restore.groovy @@ -113,6 +113,7 @@ suite("test_db_sync_clean_restore") { ) """ + target_sql "CREATE DATABASE IF NOT EXISTS TEST_${context.dbName}" target_sql """ CREATE TABLE if NOT EXISTS ${tableName}_1 ( diff --git a/regression-test/suites/db-sync-signature-not-matched/test_db_sync_signature_not_matched.groovy b/regression-test/suites/db-sync-signature-not-matched/test_db_sync_signature_not_matched.groovy index 80158f91..84ab60e1 100644 --- a/regression-test/suites/db-sync-signature-not-matched/test_db_sync_signature_not_matched.groovy +++ b/regression-test/suites/db-sync-signature-not-matched/test_db_sync_signature_not_matched.groovy @@ -117,6 +117,7 @@ suite("test_db_sync_signature_not_matched") { ) """ + target_sql "CREATE DATABASE IF NOT EXISTS TEST_${context.dbName}" target_sql """ CREATE TABLE if NOT EXISTS ${tableName} ( diff --git a/regression-test/suites/table-sync/test_restore_clean_partitions.groovy b/regression-test/suites/table-sync/test_restore_clean_partitions.groovy index 22833651..166cd262 100644 --- a/regression-test/suites/table-sync/test_restore_clean_partitions.groovy +++ b/regression-test/suites/table-sync/test_restore_clean_partitions.groovy @@ -111,6 +111,7 @@ suite("test_restore_clean_partitions") { ) """ + target_sql "CREATE DATABASE IF NOT EXISTS TEST_${context.dbName}" target_sql """ CREATE TABLE if NOT EXISTS ${tableName}_1 (