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 b1175bcb6ad branch-3.0: [fix](test) Remove unnecessary checks for sp
test #48611 (#48726)
b1175bcb6ad is described below
commit b1175bcb6ad20779be5e4d11fca119fbcc7b5284
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Mon Mar 10 20:45:30 2025 +0800
branch-3.0: [fix](test) Remove unnecessary checks for sp test #48611
(#48726)
Cherry-picked from #48611
Co-authored-by: Uniqueyou <[email protected]>
---
.../suites/partition_p0/test_partition_storage_policy.groovy | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git
a/regression-test/suites/partition_p0/test_partition_storage_policy.groovy
b/regression-test/suites/partition_p0/test_partition_storage_policy.groovy
index 569921684b9..435c3d81c5c 100644
--- a/regression-test/suites/partition_p0/test_partition_storage_policy.groovy
+++ b/regression-test/suites/partition_p0/test_partition_storage_policy.groovy
@@ -109,10 +109,14 @@ suite("test_partition_storage_policy") {
"""
def res = sql "SHOW CREATE TABLE ${tableNameSynced}"
- assertTrue(!res[0][1].contains("PARTITION p1 VALUES [('0000-01-01
00:00:00'), ('2022-01-01 00:00:00.111'))(\"storage_policy\" =
\"${policy_name}\")"))
- assertTrue(!res[0][1].contains("PARTITION p2 VALUES [('2022-01-01
00:00:00.111'), ('2022-02-01 00:00:00.111'))(\"storage_policy\" =
\"${policy_name}\")"))
+
+ logger.info(res[0][1])
+ assertTrue(!res[0][1].contains("\"${policy_name}\""))
+ assertTrue(!res[0][1].contains("\"${policy_name}\""))
res = sql "SHOW CREATE TABLE ${tableNameNotSynced}"
- assertTrue(res[0][1].contains("PARTITION p1 VALUES [('0000-01-01
00:00:00'), ('2022-01-01 00:00:00.111'))(\"storage_policy\" =
\"${policy_name}\")"))
- assertTrue(res[0][1].contains("PARTITION p2 VALUES [('2022-01-01
00:00:00.111'), ('2022-02-01 00:00:00.111'))(\"storage_policy\" =
\"${policy_name}\")"))
+
+ logger.info(res[0][1])
+ assertTrue(res[0][1].contains("\"${policy_name}\""))
+ assertTrue(res[0][1].contains("\"${policy_name}\""))
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]