Commit d02000ec authored by Stephane Nicoll's avatar Stephane Nicoll

Merge branch '2.1.x'

Closes gh-17840
parents a37b8ede 0bdf2b87
...@@ -908,7 +908,7 @@ interface. The following code shows a sample `ReactiveHealthIndicator` implement ...@@ -908,7 +908,7 @@ interface. The following code shows a sample `ReactiveHealthIndicator` implement
@Override @Override
public Mono<Health> health() { public Mono<Health> health() {
return doHealthCheck() //perform some specific health check that returns a Mono<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. ...@@ -8316,7 +8316,7 @@ which auto-configures one for you.
@Test @Test
void testName(CapturedOutput output) { void testName(CapturedOutput output) {
System.out.println("Hello World!"); System.out.println("Hello World!");
assertThat(output).contains("World")); assertThat(output).contains("World");
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment