Skip to content

Commit

Permalink
8
Browse files Browse the repository at this point in the history
  • Loading branch information
Yukang-Lian committed Dec 7, 2024
1 parent fcd8adb commit ec93e74
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ suite("test_cumu_compaction_with_delete") {
def tabletJson = parseJson(out.trim())
cumuPoint = tabletJson["cumulative point"]
}
return cumuPoint == cumu_point
return cumuPoint > cumu_point
}

try {
Expand All @@ -45,15 +45,15 @@ suite("test_cumu_compaction_with_delete") {
PROPERTIES ("replication_allocation" = "tag.location.default: 1",
"enable_mow_light_delete" = "true")"""

for(int i = 1; i <= 50; ++i){
for(int i = 1; i <= 100; ++i){
sql """ INSERT INTO ${tableName} VALUES (1,1)"""
sql """ delete from ${tableName} where user_id = 1"""
}

now = System.currentTimeMillis()

while(true){
if(check_cumu_point(102)){
if(check_cumu_point(100)){
break;
}
Thread.sleep(1000)
Expand Down

0 comments on commit ec93e74

Please sign in to comment.