diff --git a/mailbox-integration-tests/src/test/java/org/briarproject/bramble/mailbox/MailboxIntegrationTest.java b/mailbox-integration-tests/src/test/java/org/briarproject/bramble/mailbox/MailboxIntegrationTest.java index 96748a0185dc61aa8475167fd9c57de44fea0d83..043257eaf5367d6aacb27e651e73000490868eb0 100644 --- a/mailbox-integration-tests/src/test/java/org/briarproject/bramble/mailbox/MailboxIntegrationTest.java +++ b/mailbox-integration-tests/src/test/java/org/briarproject/bramble/mailbox/MailboxIntegrationTest.java @@ -52,12 +52,8 @@ public class MailboxIntegrationTest extends AbstractMailboxIntegrationTest { // send message and wait for it to arrive via mailbox broadcastMessage(c1); - // wait until file with broadcast message arrived on mailbox - retryUntilSuccessOrTimeout(10_000, 500, () -> { - List<MailboxFile> files = api.getFiles(props2, props2.getInboxId()); - return files.size() == 2; - }); - LOG.info("Broadcast message uploaded"); + // we don't check for two messages now, because 2 (Bob) might have + // download the first message still in their 1st download cycle. // wait for message to arrive // this might require 2nd download cycle after Tor reachability period