Skip to content

Commit

Permalink
Fix race condition in testThrottlingForSingleNode.
Browse files Browse the repository at this point in the history
Signed-off-by: dblock <[email protected]>
  • Loading branch information
dblock committed Nov 8, 2022
1 parent 843eef1 commit f5b089a
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 f5b089a

Please sign in to comment.