Commit fd0c7739 authored by Stephane Nicoll's avatar Stephane Nicoll

Increase timeout for Kafka sample

parent 20dfeddb
...@@ -41,7 +41,7 @@ class SampleKafkaApplicationTests { ...@@ -41,7 +41,7 @@ class SampleKafkaApplicationTests {
@Test @Test
void testVanillaExchange() throws Exception { void testVanillaExchange() throws Exception {
long end = System.currentTimeMillis() + 10000; long end = System.currentTimeMillis() + 30000;
while (!this.output.toString().contains("A simple test message") while (!this.output.toString().contains("A simple test message")
&& System.currentTimeMillis() < end) { && System.currentTimeMillis() < end) {
Thread.sleep(250); Thread.sleep(250);
......
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