Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 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;
}
}, 10000L, "Has not processed record within 10 seconds");
}, "Has not processed record within 15 seconds");

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See my comment on the other PR. Should we increase to 30 seconds?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I agree I'll update all related PRs to use a 30 second timeout


kafkaStreams.close(Duration.ofSeconds(30));

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ public void shouldCompactTopicsForKeyValueStoreChangelogs() throws Exception {
//
// Step 3: Verify the state changelog topics are compact
//
waitForCompletion(streams, 2, 10000);
waitForCompletion(streams, 2, 15000);
streams.close();

final Properties changelogProps = getTopicProperties(ProcessorStateManager.storeChangelogTopic(appID, "Counts"));
Expand Down Expand Up @@ -203,7 +203,7 @@ public void shouldCompactAndDeleteTopicsForWindowStoreChangelogs() throws Except
//
// Step 3: Verify the state changelog topics are compact
//
waitForCompletion(streams, 2, 5000);
waitForCompletion(streams, 2, 15000);
streams.close();
final Properties properties = getTopicProperties(ProcessorStateManager.storeChangelogTopic(appID, "CountWindows"));
final List<String> policies = Arrays.asList(properties.getProperty(LogConfig.CleanupPolicyProp()).split(","));
Expand Down