Skip to content

Commit

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

Signed-off-by: dblock <[email protected]>

Signed-off-by: dblock <[email protected]>
  • Loading branch information
dblock authored Nov 8, 2022
1 parent 90fefa2 commit 88757b4
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 88757b4

Please sign in to comment.