[improve] Improve LogRealTimeAlertE2eTest group alert flakiness (#4137)

This commit is contained in:
Duansg
2026-05-07 12:20:45 +08:00
committed by GitHub
parent 35cc62b844
commit 4a2ddd2506
2 changed files with 2 additions and 2 deletions
@@ -140,7 +140,7 @@ public class LogRealTimeAlertE2eTest {
capturedGroupAlerts.clear();
// Wait for group alert to be generated via AlarmCommonReduce
await().atMost(Duration.ofSeconds(60))
await().atMost(TEST_WAIT_TIMEOUT)
.pollInterval(Duration.ofSeconds(3))
.untilAsserted(() -> assertFalse(capturedGroupAlerts.isEmpty(),
"Should have generated high frequency warning group alert"));
@@ -123,4 +123,4 @@ sinks:
# Batch settings for better throughput
batch:
max_bytes: 524288
timeout_secs: 5
timeout_secs: 1