Skip to content

Commit

Permalink
setting the response before latch countdown so that thread waiting do…
Browse files Browse the repository at this point in the history
…es not encounter null

Signed-off-by: Rajiv Kumar Vaidyanathan <rajivkv@amazon.com>
  • Loading branch information
rajiv-kv committed Apr 8, 2024
1 parent 9b0f578 commit cfdc6dd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -170,8 +170,8 @@ public void testAdmissionControlResponseStatus() throws Exception {

@Override
public void sendResponse(RestResponse response) {
waitForResponse.countDown();
aliasResponse.set(response);
waitForResponse.countDown();
}
};

Expand Down

0 comments on commit cfdc6dd

Please sign in to comment.