Skip to content

Commit e5f4f6b

Browse files
committed
GH-642: Increase test timeout
Fixes #642
1 parent 33e6848 commit e5f4f6b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spring-kafka/src/test/java/org/springframework/kafka/listener/ConcurrentMessageListenerContainerTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2016 the original author or authors.
2+
* Copyright 2016-2018 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -587,7 +587,7 @@ private void testAckOnErrorWithManualImmediateGuts(String topic, boolean ackOnEr
587587

588588
// only one message should be acknowledged, because second, starting with "b"
589589
// will throw RunTimeException and acknowledge() method will not invoke on it
590-
for (int i = 0; i < 100; i++) {
590+
for (int i = 0; i < 300; i++) {
591591
if (consumer.position(new TopicPartition(topic, 0)) == 1) {
592592
break;
593593
}

0 commit comments

Comments
 (0)