mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-11-02 05:27:17 +00:00
Try a tweak to the unit tests to make Travis happy.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user