This is an automated email from the ASF dual-hosted git repository.
gavinchou 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 5c2bfe7ec06 [Fix](test) Fix cumu compaction with delete case fail
(#45442)
5c2bfe7ec06 is described below
commit 5c2bfe7ec06c683cbd705382beea2c0c53acf42a
Author: abmdocrt <[email protected]>
AuthorDate: Mon Dec 16 16:14:32 2024 +0800
[Fix](test) Fix cumu compaction with delete case fail (#45442)
After https://github.com/apache/doris/pull/44576, defining global
variables in test groovy files is disabled.
---
.../suites/compaction/test_cumu_compaction_with_delete.groovy | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git
a/regression-test/suites/compaction/test_cumu_compaction_with_delete.groovy
b/regression-test/suites/compaction/test_cumu_compaction_with_delete.groovy
index 7c6be0b177c..05ab96a628a 100644
--- a/regression-test/suites/compaction/test_cumu_compaction_with_delete.groovy
+++ b/regression-test/suites/compaction/test_cumu_compaction_with_delete.groovy
@@ -50,7 +50,7 @@ suite("test_cumu_compaction_with_delete") {
sql """ delete from ${tableName} where user_id = 1"""
}
- now = System.currentTimeMillis()
+ def now = System.currentTimeMillis()
while(true){
if(check_cumu_point(100)){
@@ -58,7 +58,7 @@ suite("test_cumu_compaction_with_delete") {
}
Thread.sleep(1000)
}
- time_diff = System.currentTimeMillis() - now
+ def time_diff = System.currentTimeMillis() - now
logger.info("time_diff:" + time_diff)
assertTrue(time_diff<200*1000)
@@ -99,7 +99,7 @@ suite("test_cumu_compaction_with_delete") {
sql """ delete from ${tableName} where user_id = 1"""
}
- now = System.currentTimeMillis()
+ def now = System.currentTimeMillis()
while(true){
if(check_cumu_point(100)){
@@ -107,7 +107,7 @@ suite("test_cumu_compaction_with_delete") {
}
Thread.sleep(1000)
}
- time_diff = System.currentTimeMillis() - now
+ def time_diff = System.currentTimeMillis() - now
logger.info("time_diff:" + time_diff)
assertTrue(time_diff>=200*1000)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]