Skip to content

Commit

Permalink
Do not mix blocking/unblocking calls
Browse files Browse the repository at this point in the history
Do not mix blocking shutdown after non-blocking start which
does not acquire count down latch.

JIRA: LIGHTY-299
Signed-off-by: Ivan Hrasko <[email protected]>
(cherry picked from commit bb91d47)
  • Loading branch information
ihrasko committed Oct 29, 2024
1 parent 98fac57 commit 4ea3de5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ public void startUp() throws Exception {
}

@AfterClass
public void tearDown() {
assertTrue(lightyController.shutdown(TIMEOUT_MILLIS, TimeUnit.MILLISECONDS));
public void tearDown() throws Exception {
assertTrue(lightyController.shutdown().get(TIMEOUT_MILLIS, TimeUnit.MILLISECONDS));
}

@Test
Expand Down

0 comments on commit 4ea3de5

Please sign in to comment.