tests: fix race conditions (#7579)

Co-authored-by: Evgeny @ SimpleX Chat <259188159+evgeny-simplex@users.noreply.github.com>
This commit is contained in:
EvgenyandEvgeny @ SimpleX Chat authored and GitHub committed 2026-09-24 10:14:14 +01:00
1 parent 9a9ce70b2f
commit 50b0d8cf93
2 files changed
+3 -1

No files matched your search

+2 -1
View File
@@ -283,7 +283,8 @@ testRetryConnecting ps = testChatCfgOpts2 cfg' opts' aliceProfile bobProfile tes
{ agentConfig =
testAgentCfg
{ quotaExceededTimeout = 1,
messageRetryInterval = RetryInterval2 {riFast = fastRetryInterval, riSlow = fastRetryInterval}
messageRetryInterval = RetryInterval2 {riFast = fastRetryInterval, riSlow = fastRetryInterval},
persistErrorInterval = 0
}
}
opts' =
+1
View File
@@ -4167,6 +4167,7 @@ setupDesynchronizedRatchet ps alice = do
bob <# "#team alice> 3"
bob #> "#team 4"
alice <# "#team bob> 4"
threadDelay 500000
withTestChat ps "bob_old" $ \bob -> do
bob <## "subscribed 2 connections on server localhost"
bob ##> "/sync #team alice"