mirror of
https://github.com/dromara/hertzbeat.git
synced 2026-09-17 09:40:58 +00:00
[improve] Improve LogRealTimeAlertE2eTest group alert flakiness (#4137)
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user