Skip to content

Commit 6cfd2e3

Browse files
committed
Merge branch '2.3.x'
Closes gh-23095
2 parents e0ccf54 + c74e0be commit 6cfd2e3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spring-boot-project/spring-boot-actuator/src/test/java/org/springframework/boot/actuate/health/CompositeReactiveHealthIndicatorTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,9 @@ void longHealth() {
7272
void timeoutReachedUsesFallback() {
7373
Map<String, ReactiveHealthIndicator> indicators = new HashMap<>();
7474
indicators.put("slow", new TimeoutHealth(10000, Status.UP));
75-
indicators.put("fast", new TimeoutHealth(10, Status.UP));
75+
indicators.put("fast", new TimeoutHealth(250, Status.UP));
7676
CompositeReactiveHealthIndicator indicator = new CompositeReactiveHealthIndicator(this.healthAggregator,
77-
new DefaultReactiveHealthIndicatorRegistry(indicators)).timeoutStrategy(100, UNKNOWN_HEALTH);
77+
new DefaultReactiveHealthIndicatorRegistry(indicators)).timeoutStrategy(1000, UNKNOWN_HEALTH);
7878
StepVerifier.create(indicator.health()).consumeNextWith((h) -> {
7979
assertThat(h.getStatus()).isEqualTo(Status.UP);
8080
assertThat(h.getDetails()).containsOnlyKeys("slow", "fast");

0 commit comments

Comments
 (0)