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 <ivan.hrasko@pantheon.tech>
  • Loading branch information
ihrasko committed Oct 29, 2024
1 parent 0133223 commit bb91d47
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 bb91d47

Please sign in to comment.