Skip to content

Commit c9c749a

Browse files
committed
r
1 parent 98de6bd commit c9c749a

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

regression-test/suites/load_p0/routine_load/test_routine_load_adaptive_param.groovy

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -65,18 +65,13 @@ suite("test_routine_load_adaptive_param","nonConcurrent") {
6565
);
6666
"""
6767

68-
// Use debug point to prevent delay scheduling (isEof=false)
69-
// This ensures tasks are scheduled immediately without waiting for max_batch_interval
7068
def injection = "RoutineLoadTaskInfo.judgeEof"
7169
try {
7270
GetDebugPoint().enableDebugPointForAllFEs(injection)
73-
74-
// Phase 1: Initial task
71+
7572
RoutineLoadTestUtils.sendTestDataToKafka(producer, kafkaCsvTpoics)
7673
RoutineLoadTestUtils.waitForTaskFinish(runSql, job, tableName, 0)
7774

78-
// Phase 2: Test adaptively increase timeout
79-
// When isEof=false, task timeout should be increased to 3600s
8075
logger.info("---test adaptively increase---")
8176
RoutineLoadTestUtils.sendTestDataToKafka(producer, kafkaCsvTpoics)
8277
RoutineLoadTestUtils.checkTaskTimeout(runSql, job, "3600")
@@ -86,8 +81,6 @@ suite("test_routine_load_adaptive_param","nonConcurrent") {
8681
GetDebugPoint().disableDebugPointForAllFEs(injection)
8782
}
8883

89-
// Phase 3: Test restore adaptively
90-
// When isEof=true (small data volume), task timeout should restore to default (100s)
9184
logger.info("---test restore adaptively---")
9285
RoutineLoadTestUtils.sendTestDataToKafka(producer, kafkaCsvTpoics)
9386
RoutineLoadTestUtils.waitForTaskFinish(runSql, job, tableName, 4)

0 commit comments

Comments
 (0)