mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-11 18:29:05 +01:00
don't insist on 2 uploaded messages in case Bob deletes one of them quickly
This commit is contained in:
@@ -52,12 +52,8 @@ public class MailboxIntegrationTest extends AbstractMailboxIntegrationTest {
|
|||||||
// send message and wait for it to arrive via mailbox
|
// send message and wait for it to arrive via mailbox
|
||||||
broadcastMessage(c1);
|
broadcastMessage(c1);
|
||||||
|
|
||||||
// wait until file with broadcast message arrived on mailbox
|
// we don't check for two messages now, because 2 (Bob) might have
|
||||||
retryUntilSuccessOrTimeout(10_000, 500, () -> {
|
// download the first message still in their 1st download cycle.
|
||||||
List<MailboxFile> files = api.getFiles(props2, props2.getInboxId());
|
|
||||||
return files.size() == 2;
|
|
||||||
});
|
|
||||||
LOG.info("Broadcast message uploaded");
|
|
||||||
|
|
||||||
// wait for message to arrive
|
// wait for message to arrive
|
||||||
// this might require 2nd download cycle after Tor reachability period
|
// this might require 2nd download cycle after Tor reachability period
|
||||||
|
|||||||
Reference in New Issue
Block a user