Increase timeout for Kafka sample

This commit is contained in:
Stephane Nicoll 2019-05-13 16:13:04 +02:00
parent 20dfeddbb3
commit fd0c773939
1 changed files with 1 additions and 1 deletions

View File

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