Skip to content

Commit

Permalink
awaitBlocking not necessary
Browse files Browse the repository at this point in the history
  • Loading branch information
lucianoviana committed Sep 19, 2024
1 parent e83a708 commit 323a381
Showing 1 changed file with 7 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -498,17 +498,14 @@ public void shouldDetectDisconnectDuringReplay()
testSystem.await("failed to start replaying", acceptingSession::isReplaying);

// Pause for a little bit to test out race with replaying
testSystem.awaitBlocking(() ->
try
{
try
{
Thread.sleep(100);
}
catch (final InterruptedException e)
{
e.printStackTrace();
}
});
Thread.sleep(100);
}
catch (final InterruptedException e)
{
e.printStackTrace();
}
}
}

Expand Down

0 comments on commit 323a381

Please sign in to comment.