From 71db7c9ca417853272a718d251053da4467269ef Mon Sep 17 00:00:00 2001 From: Yongqiang YANG Date: Wed, 30 Jul 2025 09:45:35 +0800 Subject: [PATCH] (case) log msg to investigate failure cases --- .../compaction10/test_schema_change_with_compaction10.groovy | 1 + .../compaction11/test_schema_change_with_compaction11.groovy | 1 + .../compaction5/test_schema_change_with_compaction5.groovy | 1 + .../compaction6/test_schema_change_with_compaction6.groovy | 1 + .../compaction9/test_schema_change_with_compaction9.groovy | 1 + 5 files changed, 5 insertions(+) diff --git a/regression-test/suites/cloud_p1/schema_change/compaction10/test_schema_change_with_compaction10.groovy b/regression-test/suites/cloud_p1/schema_change/compaction10/test_schema_change_with_compaction10.groovy index 3c023b26c28462..b7b6bd4e433d87 100644 --- a/regression-test/suites/cloud_p1/schema_change/compaction10/test_schema_change_with_compaction10.groovy +++ b/regression-test/suites/cloud_p1/schema_change/compaction10/test_schema_change_with_compaction10.groovy @@ -31,6 +31,7 @@ suite('test_schema_change_with_compaction10', 'docker') { docker(options) { def getJobState = { tableName -> def jobStateResult = sql """ SHOW ALTER TABLE COLUMN WHERE IndexName='${tableName}' ORDER BY createtime DESC LIMIT 1 """ + logger.info("Get job state: " + jobStateResult) return jobStateResult[0][9] } diff --git a/regression-test/suites/cloud_p1/schema_change/compaction11/test_schema_change_with_compaction11.groovy b/regression-test/suites/cloud_p1/schema_change/compaction11/test_schema_change_with_compaction11.groovy index 2845fe2f5c0141..2f7268b962442f 100644 --- a/regression-test/suites/cloud_p1/schema_change/compaction11/test_schema_change_with_compaction11.groovy +++ b/regression-test/suites/cloud_p1/schema_change/compaction11/test_schema_change_with_compaction11.groovy @@ -31,6 +31,7 @@ suite('test_schema_change_with_compaction11', 'docker') { docker(options) { def getJobState = { tableName -> def jobStateResult = sql """ SHOW ALTER TABLE COLUMN WHERE IndexName='${tableName}' ORDER BY createtime DESC LIMIT 1 """ + logger.info("Get job state: " + jobStateResult) return jobStateResult[0][9] } diff --git a/regression-test/suites/cloud_p1/schema_change/compaction5/test_schema_change_with_compaction5.groovy b/regression-test/suites/cloud_p1/schema_change/compaction5/test_schema_change_with_compaction5.groovy index fd6267b85bcbc9..094b8a53737231 100644 --- a/regression-test/suites/cloud_p1/schema_change/compaction5/test_schema_change_with_compaction5.groovy +++ b/regression-test/suites/cloud_p1/schema_change/compaction5/test_schema_change_with_compaction5.groovy @@ -31,6 +31,7 @@ suite('test_schema_change_with_compaction5', 'docker') { docker(options) { def getJobState = { tableName -> def jobStateResult = sql """ SHOW ALTER TABLE COLUMN WHERE IndexName='${tableName}' ORDER BY createtime DESC LIMIT 1 """ + logger.info("getJobState: " + jobStateResult) return jobStateResult[0][9] } diff --git a/regression-test/suites/cloud_p1/schema_change/compaction6/test_schema_change_with_compaction6.groovy b/regression-test/suites/cloud_p1/schema_change/compaction6/test_schema_change_with_compaction6.groovy index d77db4eb2df541..d2ac4f14cd9158 100644 --- a/regression-test/suites/cloud_p1/schema_change/compaction6/test_schema_change_with_compaction6.groovy +++ b/regression-test/suites/cloud_p1/schema_change/compaction6/test_schema_change_with_compaction6.groovy @@ -31,6 +31,7 @@ suite('test_schema_change_with_compaction6', 'docker') { docker(options) { def getJobState = { tableName -> def jobStateResult = sql """ SHOW ALTER TABLE COLUMN WHERE IndexName='${tableName}' ORDER BY createtime DESC LIMIT 1 """ + logger.info("Get job state: " + jobStateResult) return jobStateResult[0][9] } diff --git a/regression-test/suites/cloud_p1/schema_change/compaction9/test_schema_change_with_compaction9.groovy b/regression-test/suites/cloud_p1/schema_change/compaction9/test_schema_change_with_compaction9.groovy index 3797a89f565997..4a9ea8ea41e177 100644 --- a/regression-test/suites/cloud_p1/schema_change/compaction9/test_schema_change_with_compaction9.groovy +++ b/regression-test/suites/cloud_p1/schema_change/compaction9/test_schema_change_with_compaction9.groovy @@ -31,6 +31,7 @@ suite('test_schema_change_with_compaction9', 'docker') { docker(options) { def getJobState = { tableName -> def jobStateResult = sql """ SHOW ALTER TABLE COLUMN WHERE IndexName='${tableName}' ORDER BY createtime DESC LIMIT 1 """ + logger.info("Get job state: " + jobStateResult) return jobStateResult[0][9] }