[regression-test](fix) fix test_cumu_compaction_with_delete.groovy global var (#46165)
This commit is contained in:
@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user