Skip to content

Commit

Permalink
Wait for exchange source to complete before verifying results (#121603)…
Browse files Browse the repository at this point in the history
… (#121607)

Closes #118732
  • Loading branch information
dnhatn authored Feb 4, 2025
1 parent c65b9b9 commit f692fc8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -436,8 +436,8 @@ public void testExchangeSourceContinueOnFailure() {
exchangeSink
);
assertThat(actualSeqNos, equalTo(expectedSeqNos));
safeGet(sourceCompletionFuture);
assertThat(completedSinks.get() + failedSinks.get(), equalTo(totalSinks.get()));
sourceCompletionFuture.actionGet();
if (failedRequests.get() > 0) {
assertThat(failedSinks.get(), greaterThan(0));
} else {
Expand Down

0 comments on commit f692fc8

Please sign in to comment.