Merge branch '2.1.x'
Closes gh-17840
This commit is contained in:
@@ -908,7 +908,7 @@ interface. The following code shows a sample `ReactiveHealthIndicator` implement
|
||||
@Override
|
||||
public Mono<Health> health() {
|
||||
return doHealthCheck() //perform some specific health check that returns a Mono<Health>
|
||||
.onErrorResume(ex -> Mono.just(new Health.Builder().down(ex).build())));
|
||||
.onErrorResume(ex -> Mono.just(new Health.Builder().down(ex).build()));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -8316,7 +8316,7 @@ which auto-configures one for you.
|
||||
@Test
|
||||
void testName(CapturedOutput output) {
|
||||
System.out.println("Hello World!");
|
||||
assertThat(output).contains("World"));
|
||||
assertThat(output).contains("World");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user