Commit 5ac75c94 authored by Andy Wilkinson's avatar Andy Wilkinson

Increate timeout in Kafka tests as Windows CI agents are very slow

parent 1464425d
......@@ -67,7 +67,7 @@ public class KafkaAutoConfigurationIntegrationTests {
.getBean(KafkaTemplate.class);
template.send(TEST_TOPIC, "foo", "bar");
Listener listener = this.context.getBean(Listener.class);
assertThat(listener.latch.await(10, TimeUnit.SECONDS)).isTrue();
assertThat(listener.latch.await(30, TimeUnit.SECONDS)).isTrue();
assertThat(listener.key).isEqualTo("foo");
assertThat(listener.received).isEqualTo("bar");
}
......
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