Increate timeout in Kafka tests as Windows CI agents are very slow
This commit is contained in:
parent
1464425d64
commit
5ac75c949c
|
|
@ -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");
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue