Try a tweak to the unit tests to make Travis happy.

This commit is contained in:
Mike Hearn
2014-09-01 17:49:42 +02:00
parent ed75774605
commit d185dd55f1

View File

@@ -172,7 +172,7 @@ public class TestWithNetworkConnections {
try {
checkState(writeTarget.nextMessageBlocking() instanceof VersionMessage);
checkState(writeTarget.nextMessageBlocking() instanceof VersionAck);
checkState(peer.getVersionHandshakeFuture().isDone());
peer.getVersionHandshakeFuture().get();
synchronized (doneConnecting) {
doneConnecting.set(true);
}