Skip to content

Commit

Permalink
Fix flaky StreamingDataflowWorkerTest which wasn't waiting for enough…
Browse files Browse the repository at this point in the history
… commits. (apache#31781)
  • Loading branch information
scwhittle committed Jul 4, 2024
1 parent 0c89a0e commit a5eee58
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1227,7 +1227,7 @@ public void testKeyCommitTooLargeException() throws Exception {
.thenReturn(makeInput(2, 0, "key", DEFAULT_SHARDING_KEY));
server.waitForEmptyWorkQueue();

Map<Long, Windmill.WorkItemCommitRequest> result = server.waitForAndGetCommits(1);
Map<Long, Windmill.WorkItemCommitRequest> result = server.waitForAndGetCommits(2);

assertEquals(2, result.size());
assertEquals(
Expand Down

0 comments on commit a5eee58

Please sign in to comment.