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 7ad5adf069ed7f..4ac3953f55a0f1 100644 --- a/regression-test/suites/compaction/test_cumu_compaction_with_delete.groovy +++ b/regression-test/suites/compaction/test_cumu_compaction_with_delete.groovy @@ -69,6 +69,11 @@ suite("test_cumu_compaction_with_delete") { break; } Thread.sleep(10000) + + def duration = System.currentTimeMillis() - now + if(duration > 10 * 60 * 1000) { + assertTrue(false) + } } def time_diff = System.currentTimeMillis() - now logger.info("time_diff:" + time_diff) @@ -108,6 +113,11 @@ suite("test_cumu_compaction_with_delete") { break; } Thread.sleep(10000) + + def duration = System.currentTimeMillis() - now + if(duration > 10 * 60 * 1000) { + assertTrue(false) + } } def time_diff = System.currentTimeMillis() - now logger.info("time_diff:" + time_diff)