Skip to content

Commit fd0c773

Browse files
committed
Increase timeout for Kafka sample
1 parent 20dfedd commit fd0c773

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-boot-samples/spring-boot-sample-kafka/src/test/java/sample/kafka/SampleKafkaApplicationTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class SampleKafkaApplicationTests {
4141

4242
@Test
4343
void testVanillaExchange() throws Exception {
44-
long end = System.currentTimeMillis() + 10000;
44+
long end = System.currentTimeMillis() + 30000;
4545
while (!this.output.toString().contains("A simple test message")
4646
&& System.currentTimeMillis() < end) {
4747
Thread.sleep(250);

0 commit comments

Comments
 (0)