It seems travis is a bit slow sometimes, so I raised the timeout for the NetworkHandlerTest

This commit is contained in:
Christian Basler 2016-07-29 11:47:05 +02:00
parent 334a510743
commit 92229151a5

View File

@ -66,7 +66,7 @@ public class NetworkHandlerTest {
private final NetworkHandler nodeNetworkHandler; private final NetworkHandler nodeNetworkHandler;
@Rule @Rule
public final TestRule timeout = new DisableOnDebug(Timeout.seconds(20)); public final TestRule timeout = new DisableOnDebug(Timeout.seconds(60));
public NetworkHandlerTest(NetworkHandler peer, NetworkHandler node) { public NetworkHandlerTest(NetworkHandler peer, NetworkHandler node) {
this.peerNetworkHandler = peer; this.peerNetworkHandler = peer;