Skip to content

Commit

Permalink
Fix race condition in testThrottlingForSingleNode. (opensearch-projec…
Browse files Browse the repository at this point in the history
…t#5159)

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

Signed-off-by: dblock <[email protected]>
  • Loading branch information
dblock authored Nov 8, 2022
1 parent 9970617 commit 140ac97
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,8 @@ public void testThrottlingForSingleNode() throws Exception {
ActionListener listener = new ActionListener() {
@Override
public void onResponse(Object o) {
latch.countDown();
successfulRequest.incrementAndGet();
latch.countDown();
}

@Override
Expand Down

0 comments on commit 140ac97

Please sign in to comment.