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 4ac93192aef branch-3.0: [Fix](case) fix auto&dynamic partition case
#54632 (#54712)
4ac93192aef is described below
commit 4ac93192aef5c3a61f84eb2f20e61ff6cc9a0b53
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Thu Aug 14 09:20:40 2025 +0800
branch-3.0: [Fix](case) fix auto&dynamic partition case #54632 (#54712)
Cherry-picked from #54632
Co-authored-by: zclllyybb <[email protected]>
---
.../suites/partition_p0/auto_partition/test_auto_dynamic.groovy | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git
a/regression-test/suites/partition_p0/auto_partition/test_auto_dynamic.groovy
b/regression-test/suites/partition_p0/auto_partition/test_auto_dynamic.groovy
index 2c94b41cbb1..ad6bc3db160 100644
---
a/regression-test/suites/partition_p0/auto_partition/test_auto_dynamic.groovy
+++
b/regression-test/suites/partition_p0/auto_partition/test_auto_dynamic.groovy
@@ -93,7 +93,7 @@ suite("test_auto_dynamic", "nonConcurrent") {
);
"""
def part_result = sql " show partitions from auto_dynamic "
- assertEquals(part_result.size, 6)
+ assertEquals(part_result.size(), 6)
sql " drop table if exists auto_dynamic "
sql """
@@ -114,7 +114,7 @@ suite("test_auto_dynamic", "nonConcurrent") {
);
"""
part_result = sql " show partitions from auto_dynamic "
- assertEquals(part_result.size, 1)
+ assertEquals(part_result.size(), 1)
def skip_test = false
test {
@@ -137,7 +137,8 @@ suite("test_auto_dynamic", "nonConcurrent") {
sleep(10000)
part_result = sql " show partitions from auto_dynamic "
log.info("${part_result}".toString())
- assertEquals(part_result.size, 3)
+ assertTrue(part_result.size() == 3 || part_result.size() == 4,
+ "The partition size should be 3 or 4, but got ${part_result.size()}")
qt_sql_dynamic_auto "select * from auto_dynamic order by k0;"
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]