Fixed synchronisation

This commit is contained in:
2016-07-09 16:37:12 +02:00
parent d130080df2
commit 50f2c7e080
3 changed files with 14 additions and 10 deletions

View File

@ -254,7 +254,7 @@ public class NetworkHandlerTest {
Future<?> future = nodeNetworkHandler.synchronize(peerAddress.toInetAddress(), peerAddress.getPort(),
mock(NetworkHandler.MessageListener.class),
100);
10);
future.get();
assertInventorySize(1, nodeInventory);
assertInventorySize(1, peerInventory);