mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-11-02 21:47:18 +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 {
|
try {
|
||||||
checkState(writeTarget.nextMessageBlocking() instanceof VersionMessage);
|
checkState(writeTarget.nextMessageBlocking() instanceof VersionMessage);
|
||||||
checkState(writeTarget.nextMessageBlocking() instanceof VersionAck);
|
checkState(writeTarget.nextMessageBlocking() instanceof VersionAck);
|
||||||
checkState(peer.getVersionHandshakeFuture().isDone());
|
peer.getVersionHandshakeFuture().get();
|
||||||
synchronized (doneConnecting) {
|
synchronized (doneConnecting) {
|
||||||
doneConnecting.set(true);
|
doneConnecting.set(true);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user