You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kafka.apache.org by mj...@apache.org on 2018/11/05 02:51:46 UTC
[kafka] branch 2.1 updated: MINOR: Bump timeout for sending records
(#5843)
This is an automated email from the ASF dual-hosted git repository.
mjsax pushed a commit to branch 2.1
in repository https://gitbox.apache.org/repos/asf/kafka.git
The following commit(s) were added to refs/heads/2.1 by this push:
new 3fb42f4 MINOR: Bump timeout for sending records (#5843)
3fb42f4 is described below
commit 3fb42f4f5ba4b9a2a00dd2389d59c260ee1a42a6
Author: Bill Bejeck <bb...@gmail.com>
AuthorDate: Sat Oct 27 23:07:40 2018 -0400
MINOR: Bump timeout for sending records (#5843)
Reviewers: John Roesler <jo...@confluent.io>, Matthias J. Sax <ma...@confluent.io>
---
.../kafka/streams/integration/GlobalThreadShutDownOrderTest.java | 2 +-
.../kafka/streams/integration/InternalTopicIntegrationTest.java | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/streams/src/test/java/org/apache/kafka/streams/integration/GlobalThreadShutDownOrderTest.java b/streams/src/test/java/org/apache/kafka/streams/integration/GlobalThreadShutDownOrderTest.java
index a0ada62..e0bec90 100644
--- a/streams/src/test/java/org/apache/kafka/streams/integration/GlobalThreadShutDownOrderTest.java
+++ b/streams/src/test/java/org/apache/kafka/streams/integration/GlobalThreadShutDownOrderTest.java
@@ -146,7 +146,7 @@ public class GlobalThreadShutDownOrderTest {
public boolean conditionMet() {
return firstRecordProcessed;
}
- }, 10000L, "Has not processed record within 10 seconds");
+ }, 30000, "Has not processed record within 30 seconds");
kafkaStreams.close(Duration.ofSeconds(30));
diff --git a/streams/src/test/java/org/apache/kafka/streams/integration/InternalTopicIntegrationTest.java b/streams/src/test/java/org/apache/kafka/streams/integration/InternalTopicIntegrationTest.java
index 9bd8c65..8bcaf5d 100644
--- a/streams/src/test/java/org/apache/kafka/streams/integration/InternalTopicIntegrationTest.java
+++ b/streams/src/test/java/org/apache/kafka/streams/integration/InternalTopicIntegrationTest.java
@@ -163,7 +163,7 @@ public class InternalTopicIntegrationTest {
//
// Step 3: Verify the state changelog topics are compact
//
- waitForCompletion(streams, 2, 10000);
+ waitForCompletion(streams, 2, 30000);
streams.close();
final Properties changelogProps = getTopicProperties(ProcessorStateManager.storeChangelogTopic(appID, "Counts"));
@@ -203,7 +203,7 @@ public class InternalTopicIntegrationTest {
//
// Step 3: Verify the state changelog topics are compact
//
- waitForCompletion(streams, 2, 5000);
+ waitForCompletion(streams, 2, 30000);
streams.close();
final Properties properties = getTopicProperties(ProcessorStateManager.storeChangelogTopic(appID, "CountWindows"));
final List<String> policies = Arrays.asList(properties.getProperty(LogConfig.CleanupPolicyProp()).split(","));