From e3ffaa642d6e237a6113d7d8ab07ddff404ab400 Mon Sep 17 00:00:00 2001 From: w41ter Date: Mon, 9 Sep 2024 16:52:07 +0800 Subject: [PATCH] Delete sync job before test keyword name --- .../suites/table-sync/test_keyword_name.groovy | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/regression-test/suites/table-sync/test_keyword_name.groovy b/regression-test/suites/table-sync/test_keyword_name.groovy index 3d9a0d24..d59451ab 100644 --- a/regression-test/suites/table-sync/test_keyword_name.groovy +++ b/regression-test/suites/table-sync/test_keyword_name.groovy @@ -125,6 +125,15 @@ suite("test_keyword_name") { (8, 'hunter', 'horde', NULL); """ + // delete the exists ccr job first. + httpTest { + uri "/delete" + endpoint syncerAddress + def bodyJson = get_ccr_body "${tableName}" + body "${bodyJson}" + on "post" + } + httpTest { uri "/create_ccr" endpoint syncerAddress