This is an automated email from the ASF dual-hosted git repository.
eldenmoon pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push:
new 5bbcecba3f2 [fix](regression test) Single compaction is not supported
in cloud mode. (#36118)
5bbcecba3f2 is described below
commit 5bbcecba3f282b7ae2479da241d95b3ae974cbaa
Author: Sun Chenyang <[email protected]>
AuthorDate: Wed Jun 12 20:50:34 2024 +0800
[fix](regression test) Single compaction is not supported in cloud mode.
(#36118)
## Proposed changes
fix regression test in cloud mode
Issue Number: close #xxx
<!--Describe your changes.-->
---
.../compaction/test_table_level_compaction_policy.groovy | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git
a/regression-test/suites/compaction/test_table_level_compaction_policy.groovy
b/regression-test/suites/compaction/test_table_level_compaction_policy.groovy
index 2ff9b1f7fea..56532fc2b07 100644
---
a/regression-test/suites/compaction/test_table_level_compaction_policy.groovy
+++
b/regression-test/suites/compaction/test_table_level_compaction_policy.groovy
@@ -257,12 +257,13 @@ suite("test_table_level_compaction_policy") {
);
"""
sql """sync"""
-
- test {
- sql """
- alter table ${tableName} set ("enable_single_replica_compaction"
= "true")
- """
- exception "enable_single_replica_compaction property is not supported
for merge-on-write table"
+ if (!isCloudMode()) {
+ test {
+ sql """
+ alter table ${tableName} set
("enable_single_replica_compaction" = "true")
+ """
+ exception "enable_single_replica_compaction property is not
supported for merge-on-write table"
+ }
}
sql """ DROP TABLE IF EXISTS ${tableName} """
sql """sync"""
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]