From 354f50687233aa2c4f60ecaf96a4d2aca37870cf Mon Sep 17 00:00:00 2001 From: Christian Basler Date: Wed, 3 Feb 2016 19:28:41 +0100 Subject: [PATCH] Raised timeout for test so hopefully it doesn't fail anymore on Travis CI (otherwise there must be a different problem) --- demo/src/test/java/ch/dissem/bitmessage/SystemTest.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/demo/src/test/java/ch/dissem/bitmessage/SystemTest.java b/demo/src/test/java/ch/dissem/bitmessage/SystemTest.java index fd73dcf..1309336 100644 --- a/demo/src/test/java/ch/dissem/bitmessage/SystemTest.java +++ b/demo/src/test/java/ch/dissem/bitmessage/SystemTest.java @@ -6,7 +6,6 @@ import ch.dissem.bitmessage.entity.Plaintext; import ch.dissem.bitmessage.networking.DefaultNetworkHandler; import ch.dissem.bitmessage.repository.*; import ch.dissem.bitmessage.utils.TTL; -import ch.dissem.bitmessage.utils.UnixTime; import org.junit.AfterClass; import org.junit.BeforeClass; import org.junit.Test; @@ -78,7 +77,7 @@ public class SystemTest { String originalMessage = UUID.randomUUID().toString(); alice.send(aliceIdentity, new BitmessageAddress(bobIdentity.getAddress()), "Subject", originalMessage); - Plaintext plaintext = bobListener.get(5, TimeUnit.MINUTES); + Plaintext plaintext = bobListener.get(15, TimeUnit.MINUTES); assertThat(plaintext.getText(), equalTo(originalMessage)); }