Skip to content

Commit c9ca5b7

Browse files
committed
increase waiting time
1 parent a1464c7 commit c9ca5b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-boot-admin-server/src/test/java/de/codecentric/boot/admin/server/services/IntervalCheckTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ void should_not_lose_checks_under_backpressure_latest() {
229229
slowCheck.start();
230230

231231
try {
232-
await().atMost(Duration.ofSeconds(2)).until(() -> checkTimes.size() >= 500);
232+
await().atMost(Duration.ofSeconds(5)).until(() -> checkTimes.size() >= 500);
233233
// With onBackpressureLatest, we should process more checks without drops
234234
instanceIds.forEach((InstanceId instanceId) -> assertThat(checkTimesPerInstance.get(instanceId.getValue()))
235235
.hasSizeGreaterThanOrEqualTo(10));

0 commit comments

Comments
 (0)