Skip to content

Commit 6507734

Browse files
Update KafkaSampleIntegrationTest.java
1 parent e92c6a8 commit 6507734

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

kafka-spring-boot/boot-kafka-sample/src/test/java/com/example/springbootkafkasample/KafkaSampleIntegrationTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ void sendAndReceiveMessage() throws Exception {
4848

4949
// 4 from topic1 and 3 from topic2 on startUp, plus 1 from test
5050
await().pollInterval(Duration.ofSeconds(1))
51-
.atMost(Duration.ofSeconds(15))
52-
.untilAsserted(() -> assertThat(receiver2.getLatch().getCount()).isEqualTo(2));
51+
.atMost(Duration.ofSeconds(30))
52+
.untilAsserted(() -> assertThat(receiver2.getLatch().getCount()).isEqualTo(9));
5353
assertThat(receiver2.getDeadLetterLatch().getCount()).isEqualTo(1);
5454
}
5555

0 commit comments

Comments
 (0)