This is an automated email from the ASF dual-hosted git repository.

dataroaring pushed a commit to branch branch-3.0
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/branch-3.0 by this push:
     new 10bef036182 [regression-test](cases) fix global var in cases (#51434)
10bef036182 is described below

commit 10bef0361824087e307521da77fe6bba13f8c4a3
Author: shuke <[email protected]>
AuthorDate: Tue Jun 3 16:33:06 2025 +0800

    [regression-test](cases) fix global var in cases (#51434)
---
 .../test_backup_restore_with_many_tables.groovy    |  2 +-
 .../test_compaction_fail_release_lock.groovy       | 12 +++++------
 ...test_compaction_update_big_delete_bitmap.groovy | 18 ++++++++--------
 ...e_compaction_with_variant_inverted_index.groovy |  8 ++++----
 ...sh_is_high_priority_for_vtablet_writerV2.groovy |  2 +-
 ...ity_for_vtablet_writerv1_fault_injection.groovy |  2 +-
 .../test_variant_bloom_filter.groovy               |  2 +-
 .../inverted_index_p0/load/test_stream_load.groovy |  2 +-
 .../test_index_like_select.groovy                  |  4 ++--
 .../show_data/test_show_index_data.groovy          | 24 +++++++++++-----------
 .../show_data/test_show_index_data_p2.groovy       | 12 +++++------
 .../test_variant_index_format_v1.groovy            |  2 +-
 .../suites/tpcds_sf1_unique_p1/query46.groovy      |  2 +-
 .../ssb_unique_load_zstd/one/load_one_step.groovy  |  2 +-
 .../ssb_unique_load_zstd/two/load_two_step.groovy  |  2 +-
 15 files changed, 48 insertions(+), 48 deletions(-)

diff --git 
a/regression-test/suites/backup_restore_p2/test_backup_restore_with_many_tables.groovy
 
b/regression-test/suites/backup_restore_p2/test_backup_restore_with_many_tables.groovy
index d97a0666bf8..87a3067b5ea 100644
--- 
a/regression-test/suites/backup_restore_p2/test_backup_restore_with_many_tables.groovy
+++ 
b/regression-test/suites/backup_restore_p2/test_backup_restore_with_many_tables.groovy
@@ -84,7 +84,7 @@ suite("test_backup_restore_with_huge_tables") {
     syncer.waitAllRestoreFinish(dbName)
 
     for (def tableName in tables) {
-        result = sql "SELECT * FROM ${dbName}.${tableName}"
+        def result = sql "SELECT * FROM ${dbName}.${tableName}"
         assertEquals(result.size(), numRows);
         sql "DROP TABLE ${dbName}.${tableName} FORCE"
     }
diff --git 
a/regression-test/suites/compaction/test_compaction_fail_release_lock.groovy 
b/regression-test/suites/compaction/test_compaction_fail_release_lock.groovy
index e8763446b9d..ccf8c7db451 100644
--- a/regression-test/suites/compaction/test_compaction_fail_release_lock.groovy
+++ b/regression-test/suites/compaction/test_compaction_fail_release_lock.groovy
@@ -87,9 +87,9 @@ suite("test_compaction_fail_release_lock", "nonConcurrent") {
 
         String command = sb.toString()
         logger.info(command)
-        process = command.execute()
-        code = process.waitFor()
-        out = process.getText()
+        def process = command.execute()
+        def code = process.waitFor()
+        def out = process.getText()
         logger.info("Get tablet status:  =" + code + ", out=" + out)
         assertEquals(code, 0)
         def tabletStatus = parseJson(out.trim())
@@ -107,9 +107,9 @@ suite("test_compaction_fail_release_lock", "nonConcurrent") 
{
 
             String command = sb.toString()
             logger.info(command)
-            process = command.execute()
-            code = process.waitFor()
-            out = process.getText()
+            def process = command.execute()
+            def code = process.waitFor()
+            def out = process.getText()
             logger.info("Get compaction status: code=" + code + ", out=" + out)
             assertEquals(code, 0)
             def compactionStatus = parseJson(out.trim())
diff --git 
a/regression-test/suites/compaction/test_compaction_update_big_delete_bitmap.groovy
 
b/regression-test/suites/compaction/test_compaction_update_big_delete_bitmap.groovy
index 7f34644f1c1..3310cbd5420 100644
--- 
a/regression-test/suites/compaction/test_compaction_update_big_delete_bitmap.groovy
+++ 
b/regression-test/suites/compaction/test_compaction_update_big_delete_bitmap.groovy
@@ -88,9 +88,9 @@ suite("test_compaction_update_big_delete_bitmap", 
"nonConcurrent") {
 
         String command = sb.toString()
         logger.info(command)
-        process = command.execute()
-        code = process.waitFor()
-        out = process.getText()
+        def process = command.execute()
+        def code = process.waitFor()
+        def out = process.getText()
         logger.info("Get tablet status:  =" + code + ", out=" + out)
         assertEquals(code, 0)
         def tabletStatus = parseJson(out.trim())
@@ -108,9 +108,9 @@ suite("test_compaction_update_big_delete_bitmap", 
"nonConcurrent") {
 
             String command = sb.toString()
             logger.info(command)
-            process = command.execute()
-            code = process.waitFor()
-            out = process.getText()
+            def process = command.execute()
+            def code = process.waitFor()
+            def out = process.getText()
             logger.info("Get compaction status: code=" + code + ", out=" + out)
             assertEquals(code, 0)
             def compactionStatus = parseJson(out.trim())
@@ -128,9 +128,9 @@ suite("test_compaction_update_big_delete_bitmap", 
"nonConcurrent") {
 
         String command = sb.toString()
         logger.info(command)
-        process = command.execute()
-        code = process.waitFor()
-        out = process.getText()
+        def process = command.execute()
+        def code = process.waitFor()
+        def out = process.getText()
         logger.info("Get ms delete bitmap count status:  =" + code + ", out=" 
+ out)
         assertEquals(code, 0)
         def deleteBitmapStatus = parseJson(out.trim())
diff --git 
a/regression-test/suites/compaction/test_single_compaction_with_variant_inverted_index.groovy
 
b/regression-test/suites/compaction/test_single_compaction_with_variant_inverted_index.groovy
index 3850f4b1b13..aa312ac0b0c 100644
--- 
a/regression-test/suites/compaction/test_single_compaction_with_variant_inverted_index.groovy
+++ 
b/regression-test/suites/compaction/test_single_compaction_with_variant_inverted_index.groovy
@@ -57,7 +57,7 @@ suite("test_single_compaction_with_variant_inverted", "p2, 
nonConcurrent") {
 
         String command = sb.toString()
         logger.info(command)
-        process = command.execute()
+        def process = command.execute()
         code = process.waitFor()
         err = IOGroovyMethods.getText(new BufferedReader(new 
InputStreamReader(process.getErrorStream())));
         out = process.getText()
@@ -78,7 +78,7 @@ suite("test_single_compaction_with_variant_inverted", "p2, 
nonConcurrent") {
 
         String command = sb.toString()
         logger.info(command)
-        process = command.execute()
+        def process = command.execute()
         code = process.waitFor()
         err = IOGroovyMethods.getText(new BufferedReader(new 
InputStreamReader(process.getErrorStream())));
         out = process.getText()
@@ -100,7 +100,7 @@ suite("test_single_compaction_with_variant_inverted", "p2, 
nonConcurrent") {
 
             String command = sb.toString()
             logger.info(command)
-            process = command.execute()
+            def process = command.execute()
             code = process.waitFor()
             out = process.getText()
             logger.info("Get compaction status: code=" + code + ", out=" + out)
@@ -121,7 +121,7 @@ suite("test_single_compaction_with_variant_inverted", "p2, 
nonConcurrent") {
 
         String command = sb.toString()
         logger.info(command)
-        process = command.execute()
+        def process = command.execute()
         code = process.waitFor()
         out = process.getText()
         logger.info("Get tablet status: code=" + code + ", out=" + out)
diff --git 
a/regression-test/suites/fault_injection_p0/test_memtable_flush_is_high_priority_for_vtablet_writerV2.groovy
 
b/regression-test/suites/fault_injection_p0/test_memtable_flush_is_high_priority_for_vtablet_writerV2.groovy
index 40765cb92f7..091384b7490 100644
--- 
a/regression-test/suites/fault_injection_p0/test_memtable_flush_is_high_priority_for_vtablet_writerV2.groovy
+++ 
b/regression-test/suites/fault_injection_p0/test_memtable_flush_is_high_priority_for_vtablet_writerV2.groovy
@@ -50,7 +50,7 @@ 
suite("test_memtable_flush_is_high_priority_for_vtablet_writerV2", "nonConcurren
         
GetDebugPoint().enableDebugPointForAllBEs("VTabletWriterV2._init.is_high_priority")
         def result = sql "show VARIABLES like \'enable_memtable_on_sink_node\'"
         log.info(result.toString())
-        original_status = result[0][1]       
+        def original_status = result[0][1]       
         sql """set enable_memtable_on_sink_node = true"""
         sql """drop table if exists ${testTable}"""
         sql testTableDDL
diff --git 
a/regression-test/suites/fault_injection_p0/test_memtable_flush_is_high_priority_for_vtablet_writerv1_fault_injection.groovy
 
b/regression-test/suites/fault_injection_p0/test_memtable_flush_is_high_priority_for_vtablet_writerv1_fault_injection.groovy
index 37b762c10fe..6e778dc3a92 100644
--- 
a/regression-test/suites/fault_injection_p0/test_memtable_flush_is_high_priority_for_vtablet_writerv1_fault_injection.groovy
+++ 
b/regression-test/suites/fault_injection_p0/test_memtable_flush_is_high_priority_for_vtablet_writerv1_fault_injection.groovy
@@ -50,7 +50,7 @@ 
suite("test_memtable_flush_is_high_priority_for_vtablet_writerV1", "nonConcurren
         
GetDebugPoint().enableDebugPointForAllBEs("VTabletWriter._init.is_high_priority")
         def result = sql "show VARIABLES like \'enable_memtable_on_sink_node\'"
         log.info(result.toString())
-        original_status = result[0][1]       
+        def original_status = result[0][1]       
         sql """set enable_memtable_on_sink_node = false"""
         sql """drop table if exists ${testTable}"""
         sql testTableDDL
diff --git 
a/regression-test/suites/fault_injection_p0/test_variant_bloom_filter.groovy 
b/regression-test/suites/fault_injection_p0/test_variant_bloom_filter.groovy
index d5ffd070003..5c0d1f2591b 100644
--- a/regression-test/suites/fault_injection_p0/test_variant_bloom_filter.groovy
+++ b/regression-test/suites/fault_injection_p0/test_variant_bloom_filter.groovy
@@ -93,7 +93,7 @@ suite("test_variant_bloom_filter", "nonConcurrent") {
     for (def tablet in tablets) {
         int afterSegmentCount = 0
         String tablet_id = tablet.TabletId
-        (code, out, err) = curl("GET", tablet.CompactionStatus)
+        def (code, out, err) = curl("GET", tablet.CompactionStatus)
         logger.info("Show tablets status: code=" + code + ", out=" + out + ", 
err=" + err)
         assertEquals(code, 0)
         def tabletJson = parseJson(out.trim())
diff --git 
a/regression-test/suites/inverted_index_p0/load/test_stream_load.groovy 
b/regression-test/suites/inverted_index_p0/load/test_stream_load.groovy
index 66c4468e3f2..d9268eec9d1 100644
--- a/regression-test/suites/inverted_index_p0/load/test_stream_load.groovy
+++ b/regression-test/suites/inverted_index_p0/load/test_stream_load.groovy
@@ -89,7 +89,7 @@ suite("test_stream_load_with_inverted_index_p0", "p0, 
nonConcurrent") {
         for (def tablet in tablets) {
             String tablet_id = tablet.TabletId
             backend_id = tablet.BackendId
-            (code, out, err) = 
calc_file_crc_on_tablet(backendId_to_backendIP.get(backend_id), 
backendId_to_backendHttpPort.get(backend_id), tablet_id)
+            def (code, out, err) = 
calc_file_crc_on_tablet(backendId_to_backendIP.get(backend_id), 
backendId_to_backendHttpPort.get(backend_id), tablet_id)
             logger.info("Run calc file: code=" + code + ", out=" + out + ", 
err=" + err)
             assertEquals(code, 0)
             def resultJson = parseJson(out.trim())
diff --git 
a/regression-test/suites/inverted_index_p0/test_index_like_select.groovy 
b/regression-test/suites/inverted_index_p0/test_index_like_select.groovy
index 14996599789..2db05aa8734 100644
--- a/regression-test/suites/inverted_index_p0/test_index_like_select.groovy
+++ b/regression-test/suites/inverted_index_p0/test_index_like_select.groovy
@@ -161,8 +161,8 @@ suite("test_index_like_select", "inverted_index_select"){
         // case5 test int colume cannot use like
         def int_colume_like_result = "fail"
         try {
-            drop_result = sql "select * from ${indexTbName1} where 
${int_colume1} like 9"
-            drop_index_twice_result = 'success'
+            sql "select * from ${indexTbName1} where ${int_colume1} like 9"
+            int_colume_like_result = 'success'
         } catch(Exception ex) {
             logger.info("int colume should not match succ, result: " + ex)
         }
diff --git 
a/regression-test/suites/inverted_index_p1/show_data/test_show_index_data.groovy
 
b/regression-test/suites/inverted_index_p1/show_data/test_show_index_data.groovy
index 671fe907782..6881c6fe01c 100644
--- 
a/regression-test/suites/inverted_index_p1/show_data/test_show_index_data.groovy
+++ 
b/regression-test/suites/inverted_index_p1/show_data/test_show_index_data.groovy
@@ -121,7 +121,7 @@ suite("test_show_index_data", "p1") {
         for (def tablet in tablets) {
             int beforeSegmentCount = 0
             String tablet_id = tablet.TabletId
-            (code, out, err) = curl("GET", tablet.CompactionStatus)
+            def (code, out, err) = curl("GET", tablet.CompactionStatus)
             logger.info("Show tablets status: code=" + code + ", out=" + out + 
", err=" + err)
             assertEquals(code, 0)
             def tabletJson = parseJson(out.trim())
@@ -135,8 +135,8 @@ suite("test_show_index_data", "p1") {
         // trigger compactions for all tablets in ${tableName}
         for (def tablet in tablets) {
             String tablet_id = tablet.TabletId
-            backend_id = tablet.BackendId
-            (code, out, err) = 
be_run_full_compaction(backendId_to_backendIP.get(backend_id), 
backendId_to_backendHttpPort.get(backend_id), tablet_id)
+            def backend_id = tablet.BackendId
+            def (code, out, err) = 
be_run_full_compaction(backendId_to_backendIP.get(backend_id), 
backendId_to_backendHttpPort.get(backend_id), tablet_id)
             logger.info("Run compaction: code=" + code + ", out=" + out + ", 
err=" + err)
             assertEquals(code, 0)
             def compactJson = parseJson(out.trim())
@@ -148,8 +148,8 @@ suite("test_show_index_data", "p1") {
             Awaitility.await().atMost(30, TimeUnit.MINUTES).untilAsserted(() 
-> {
                 Thread.sleep(30000)
                 String tablet_id = tablet.TabletId
-                backend_id = tablet.BackendId
-                (code, out, err) = 
be_get_compaction_status(backendId_to_backendIP.get(backend_id), 
backendId_to_backendHttpPort.get(backend_id), tablet_id)
+                def backend_id = tablet.BackendId
+                def (code, out, err) = 
be_get_compaction_status(backendId_to_backendIP.get(backend_id), 
backendId_to_backendHttpPort.get(backend_id), tablet_id)
                 logger.info("Get compaction status: code=" + code + ", out=" + 
out + ", err=" + err)
                 assertEquals(code, 0)
                 def compactionStatus = parseJson(out.trim())
@@ -161,7 +161,7 @@ suite("test_show_index_data", "p1") {
         for (def tablet in tablets) {
             int afterSegmentCount = 0
             String tablet_id = tablet.TabletId
-            (code, out, err) = curl("GET", tablet.CompactionStatus)
+            def (code, out, err) = curl("GET", tablet.CompactionStatus)
             logger.info("Show tablets status: code=" + code + ", out=" + out + 
", err=" + err)
             assertEquals(code, 0)
             def tabletJson = parseJson(out.trim())
@@ -228,7 +228,7 @@ suite("test_show_index_data", "p1") {
         Set<String> rowsetids = new HashSet<>();
         for (def tablet in tablets) {
             String tablet_id = tablet.TabletId
-            (code, out, err) = curl("GET", tablet.CompactionStatus)
+            def (code, out, err) = curl("GET", tablet.CompactionStatus)
             logger.info("Show tablets status: code=" + code + ", out=" + out + 
", err=" + err)
             assertEquals(code, 0)
             def tabletJson = parseJson(out.trim())
@@ -249,7 +249,7 @@ suite("test_show_index_data", "p1") {
             tablets = sql_return_maparray """ show tablets from 
${show_table_name}; """
             for (def tablet in tablets) {
                 String tablet_id = tablet.TabletId
-                (code, out, err) = curl("GET", tablet.CompactionStatus)
+                def (code, out, err) = curl("GET", tablet.CompactionStatus)
                 logger.info("Show tablets status: code=" + code + ", out=" + 
out + ", err=" + err)
                 assertEquals(code, 0)
                 def tabletJson = parseJson(out.trim())
@@ -273,7 +273,7 @@ suite("test_show_index_data", "p1") {
         Set<String> rowsetids = new HashSet<>();
         for (def tablet in tablets) {
             String tablet_id = tablet.TabletId
-            (code, out, err) = curl("GET", tablet.CompactionStatus)
+            def (code, out, err) = curl("GET", tablet.CompactionStatus)
             logger.info("Show tablets status: code=" + code + ", out=" + out + 
", err=" + err)
             assertEquals(code, 0)
             def tabletJson = parseJson(out.trim())
@@ -297,7 +297,7 @@ suite("test_show_index_data", "p1") {
             tablets = sql_return_maparray """ show tablets from 
${show_table_name}; """
             for (def tablet in tablets) {
                 String tablet_id = tablet.TabletId
-                (code, out, err) = curl("GET", tablet.CompactionStatus)
+                def (code, out, err) = curl("GET", tablet.CompactionStatus)
                 logger.info("Show tablets status: code=" + code + ", out=" + 
out + ", err=" + err)
                 assertEquals(code, 0)
                 def tabletJson = parseJson(out.trim())
@@ -320,7 +320,7 @@ suite("test_show_index_data", "p1") {
         Set<String> rowsetids = new HashSet<>();
         for (def tablet in tablets) {
             String tablet_id = tablet.TabletId
-            (code, out, err) = curl("GET", tablet.CompactionStatus)
+            def (code, out, err) = curl("GET", tablet.CompactionStatus)
             logger.info("Show tablets status: code=" + code + ", out=" + out + 
", err=" + err)
             assertEquals(code, 0)
             def tabletJson = parseJson(out.trim())
@@ -341,7 +341,7 @@ suite("test_show_index_data", "p1") {
             tablets = sql_return_maparray """ show tablets from 
${show_table_name}; """
             for (def tablet in tablets) {
                 String tablet_id = tablet.TabletId
-                (code, out, err) = curl("GET", tablet.CompactionStatus)
+                def (code, out, err) = curl("GET", tablet.CompactionStatus)
                 logger.info("Show tablets status: code=" + code + ", out=" + 
out + ", err=" + err)
                 assertEquals(code, 0)
                 def tabletJson = parseJson(out.trim())
diff --git 
a/regression-test/suites/inverted_index_p2/show_data/test_show_index_data_p2.groovy
 
b/regression-test/suites/inverted_index_p2/show_data/test_show_index_data_p2.groovy
index d8962cdd3ef..04251a87b30 100644
--- 
a/regression-test/suites/inverted_index_p2/show_data/test_show_index_data_p2.groovy
+++ 
b/regression-test/suites/inverted_index_p2/show_data/test_show_index_data_p2.groovy
@@ -227,7 +227,7 @@ suite("test_show_index_data_p2", "p2") {
         Set<String> rowsetids = new HashSet<>();
         for (def tablet in tablets) {
             String tablet_id = tablet.TabletId
-            (code, out, err) = curl("GET", tablet.CompactionStatus)
+            def (code, out, err) = curl("GET", tablet.CompactionStatus)
             logger.info("Show tablets status: code=" + code + ", out=" + out + 
", err=" + err)
             assertEquals(code, 0)
             def tabletJson = parseJson(out.trim())
@@ -248,7 +248,7 @@ suite("test_show_index_data_p2", "p2") {
             tablets = sql_return_maparray """ show tablets from 
${show_table_name}; """
             for (def tablet in tablets) {
                 String tablet_id = tablet.TabletId
-                (code, out, err) = curl("GET", tablet.CompactionStatus)
+                def (code, out, err) = curl("GET", tablet.CompactionStatus)
                 logger.info("Show tablets status: code=" + code + ", out=" + 
out + ", err=" + err)
                 assertEquals(code, 0)
                 def tabletJson = parseJson(out.trim())
@@ -271,7 +271,7 @@ suite("test_show_index_data_p2", "p2") {
         Set<String> rowsetids = new HashSet<>();
         for (def tablet in tablets) {
             String tablet_id = tablet.TabletId
-            (code, out, err) = curl("GET", tablet.CompactionStatus)
+            def (code, out, err) = curl("GET", tablet.CompactionStatus)
             logger.info("Show tablets status: code=" + code + ", out=" + out + 
", err=" + err)
             assertEquals(code, 0)
             def tabletJson = parseJson(out.trim())
@@ -295,7 +295,7 @@ suite("test_show_index_data_p2", "p2") {
             tablets = sql_return_maparray """ show tablets from 
${show_table_name}; """
             for (def tablet in tablets) {
                 String tablet_id = tablet.TabletId
-                (code, out, err) = curl("GET", tablet.CompactionStatus)
+                def (code, out, err) = curl("GET", tablet.CompactionStatus)
                 logger.info("Show tablets status: code=" + code + ", out=" + 
out + ", err=" + err)
                 assertEquals(code, 0)
                 def tabletJson = parseJson(out.trim())
@@ -318,7 +318,7 @@ suite("test_show_index_data_p2", "p2") {
         Set<String> rowsetids = new HashSet<>();
         for (def tablet in tablets) {
             String tablet_id = tablet.TabletId
-            (code, out, err) = curl("GET", tablet.CompactionStatus)
+            def (code, out, err) = curl("GET", tablet.CompactionStatus)
             logger.info("Show tablets status: code=" + code + ", out=" + out + 
", err=" + err)
             assertEquals(code, 0)
             def tabletJson = parseJson(out.trim())
@@ -339,7 +339,7 @@ suite("test_show_index_data_p2", "p2") {
             tablets = sql_return_maparray """ show tablets from 
${show_table_name}; """
             for (def tablet in tablets) {
                 String tablet_id = tablet.TabletId
-                (code, out, err) = curl("GET", tablet.CompactionStatus)
+                def (code, out, err) = curl("GET", tablet.CompactionStatus)
                 logger.info("Show tablets status: code=" + code + ", out=" + 
out + ", err=" + err)
                 assertEquals(code, 0)
                 def tabletJson = parseJson(out.trim())
diff --git 
a/regression-test/suites/inverted_index_p2/test_variant_index_format_v1.groovy 
b/regression-test/suites/inverted_index_p2/test_variant_index_format_v1.groovy
index 3e42674fc9a..b6b6d5aeef5 100644
--- 
a/regression-test/suites/inverted_index_p2/test_variant_index_format_v1.groovy
+++ 
b/regression-test/suites/inverted_index_p2/test_variant_index_format_v1.groovy
@@ -88,7 +88,7 @@ suite("test_variant_index_format_v1", "p2, nonConcurrent") {
     def backendId_to_backendHttpPort = [:]
     getBackendIpHttpPort(backendId_to_backendIP, backendId_to_backendHttpPort);
 
-    tablets = sql_return_maparray """ show tablets from ${table_name}; """
+    def tablets = sql_return_maparray """ show tablets from ${table_name}; """
     String tablet_id = tablets[0].TabletId
     String backend_id = tablets[0].BackendId
     String ip = backendId_to_backendIP.get(backend_id)
diff --git a/regression-test/suites/tpcds_sf1_unique_p1/query46.groovy 
b/regression-test/suites/tpcds_sf1_unique_p1/query46.groovy
index f5a6a40d5a8..bf10aa36544 100644
--- a/regression-test/suites/tpcds_sf1_unique_p1/query46.groovy
+++ b/regression-test/suites/tpcds_sf1_unique_p1/query46.groovy
@@ -26,7 +26,7 @@ suite("tpcds_sf1_unique_p1_q46") {
     logger.info("${stats}")
     stats = sql "show column stats  customer_address"
     logger.info("${stats}")
-    ds46 = """
+    def ds46 = """
         SELECT
         c_last_name
         , c_first_name
diff --git 
a/regression-test/suites/unique_with_mow_p2/ssb_unique_load_zstd/one/load_one_step.groovy
 
b/regression-test/suites/unique_with_mow_p2/ssb_unique_load_zstd/one/load_one_step.groovy
index bb7bd9a782e..038df52af34 100644
--- 
a/regression-test/suites/unique_with_mow_p2/ssb_unique_load_zstd/one/load_one_step.groovy
+++ 
b/regression-test/suites/unique_with_mow_p2/ssb_unique_load_zstd/one/load_one_step.groovy
@@ -64,7 +64,7 @@ suite("load_one_step") {
             }
             sleep(5000)
         }
-        rowCount = sql "select count(*) from ${tableName}"
+        def rowCount = sql "select count(*) from ${tableName}"
         assertEquals(rows[1], rowCount[0][0])
     }
 }
diff --git 
a/regression-test/suites/unique_with_mow_p2/ssb_unique_load_zstd/two/load_two_step.groovy
 
b/regression-test/suites/unique_with_mow_p2/ssb_unique_load_zstd/two/load_two_step.groovy
index 5d0e55824e8..09cb9f09e46 100644
--- 
a/regression-test/suites/unique_with_mow_p2/ssb_unique_load_zstd/two/load_two_step.groovy
+++ 
b/regression-test/suites/unique_with_mow_p2/ssb_unique_load_zstd/two/load_two_step.groovy
@@ -64,7 +64,7 @@ suite("load_two_step") {
             }
             sleep(5000)
         }
-        rowCount = sql "select count(*) from ${tableName}"
+        def rowCount = sql "select count(*) from ${tableName}"
         assertEquals(rows[1], rowCount[0][0])
 
         // step 2: delete all data


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to