Skip to content

Commit

Permalink
Fixing Flaky Test
Browse files Browse the repository at this point in the history
  • Loading branch information
Shrinand Thakkar committed Aug 8, 2023
1 parent e7f3e2d commit b8d7192
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4042,6 +4042,7 @@ protected void performPreAssignmentCleanup(List<DatastreamGroup> datastreamGroup
protected synchronized void handleEvent(CoordinatorEvent event) {
CoordinatorEvent previousHead = peekCoordinatorEventBlockingQueue();
super.handleEvent(event);
PollUtils.poll(() -> peekCoordinatorEventBlockingQueue() != null, 50, 1000);
CoordinatorEvent nextHead = peekCoordinatorEventBlockingQueue();

// recording previous and new heads of the CoordinatorEventBlockingQueue
Expand Down

0 comments on commit b8d7192

Please sign in to comment.