mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-09-27 15:48:54 +00:00
tests: fix race conditions (#7579)
Co-authored-by: Evgeny @ SimpleX Chat <259188159+evgeny-simplex@users.noreply.github.com>
This commit is contained in:
co-authored by
Evgeny @ SimpleX Chat
parent
fd16048598
commit
402d63d294
@@ -272,7 +272,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' =
|
||||
|
||||
@@ -3838,6 +3838,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"
|
||||
|
||||
Reference in New Issue
Block a user