From ec93e74a4a27689f865e5cee50f858e629f5d36a Mon Sep 17 00:00:00 2001 From: Yukang-Lian Date: Sat, 7 Dec 2024 20:24:48 +0800 Subject: [PATCH] 8 --- .../compaction/test_cumu_compaction_with_delete.groovy | 6 +++--- 1 file changed, 3 insertions(+), 3 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 f0ef2fb377dedc1..a1dfc3b9864b1cb 100644 --- a/regression-test/suites/compaction/test_cumu_compaction_with_delete.groovy +++ b/regression-test/suites/compaction/test_cumu_compaction_with_delete.groovy @@ -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 { @@ -45,7 +45,7 @@ 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""" } @@ -53,7 +53,7 @@ suite("test_cumu_compaction_with_delete") { now = System.currentTimeMillis() while(true){ - if(check_cumu_point(102)){ + if(check_cumu_point(100)){ break; } Thread.sleep(1000)