Skip to content

Commit

Permalink
Fix: org.opensearch.clustermanager.ClusterManagerTaskThrottlingIT is …
Browse files Browse the repository at this point in the history
…flaky.

Signed-off-by: dblock <[email protected]>
  • Loading branch information
dblock committed Nov 8, 2022
1 parent 5c1d084 commit 841e43b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -164,9 +164,9 @@ public void onResponse(Object o) {

@Override
public void onFailure(Exception e) {
timedoutRequest.incrementAndGet();
latch.countDown();
assertTrue(e instanceof ProcessClusterEventTimeoutException);
timedoutRequest.incrementAndGet();
}
};
executePutMappingRequests(totalRequest, node, listener);
Expand Down

0 comments on commit 841e43b

Please sign in to comment.