Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ public void shouldFinishGlobalStoreOperationOnShutDown() throws Exception {
public boolean conditionMet() {
return firstRecordProcessed;
}
}, 5000L, "Has not processed record within 5 seconds");
}, 30000, "Has not processed record within 30 seconds");

kafkaStreams.close(30, TimeUnit.SECONDS);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ public Iterable<String> apply(final String value) {
//
// Step 3: Verify the state changelog topics are compact
//
waitForCompletion(streams, 2, 5000);
waitForCompletion(streams, 2, 30000);
streams.close();

final Properties changelogProps = getTopicProperties(ProcessorStateManager.storeChangelogTopic(appID, "Counts"));
Expand Down Expand Up @@ -206,7 +206,7 @@ public Iterable<String> apply(final String value) {
//
// 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(","));
Expand Down