tests: fix race conditions (#7579)

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