Closes gh-14049
This commit is contained in:
Johnny Lim
2018-08-13 22:47:04 +09:00
committed by Stephane Nicoll
parent d0f272960e
commit d5eaaf6e2a
11 changed files with 38 additions and 46 deletions

View File

@@ -48,8 +48,7 @@ public class SampleKafkaApplicationTests {
&& System.currentTimeMillis() < end) {
Thread.sleep(250);
}
assertThat(this.outputCapture.toString().contains("A simple test message"))
.isTrue();
assertThat(this.outputCapture.toString()).contains("A simple test message");
}
}