Skip to content

Commit

Permalink
GH-642: Increase test timeout
Browse files Browse the repository at this point in the history
Fixes #642
  • Loading branch information
garyrussell committed Apr 4, 2018
1 parent 33e6848 commit e5f4f6b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2016 the original author or authors.
* Copyright 2016-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -587,7 +587,7 @@ private void testAckOnErrorWithManualImmediateGuts(String topic, boolean ackOnEr

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

0 comments on commit e5f4f6b

Please sign in to comment.