Created
March 10, 2015 17:13
-
-
Save samskiter/568cdb071ea8c4688a51 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private void waitForResponse() | |
{ | |
signal = new CountDownLatch(1); | |
try | |
{ | |
assertTrue(signal.await(30, TimeUnit.SECONDS)); | |
} | |
catch (InterruptedException e) | |
{ | |
fail(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment