mirror of
https://github.com/simplex-chat/simplexmq.git
synced 2026-08-28 20:08:16 +00:00
restore concurrently_
This commit is contained in:
@@ -1322,8 +1322,9 @@ testRatchetSyncSuspendForeground t = do
|
||||
foregroundAgent bob2
|
||||
|
||||
withSmpServerStoreMsgLogOn t testPort $ \_ -> do
|
||||
get alice =##> ratchetSyncP bobId RSAgreed
|
||||
get bob2 =##> ratchetSyncP aliceId RSAgreed
|
||||
concurrently_
|
||||
(get alice =##> ratchetSyncP bobId RSAgreed)
|
||||
(get bob2 =##> ratchetSyncP aliceId RSAgreed)
|
||||
get alice =##> ratchetSyncP bobId RSOk
|
||||
get bob2 =##> ratchetSyncP aliceId RSOk
|
||||
runRight_ $ exchangeGreetingsMsgIds alice bobId 12 bob2 aliceId 9
|
||||
@@ -1348,8 +1349,9 @@ testRatchetSyncSimultaneous t = do
|
||||
liftIO $ aRSS `shouldBe` RSStarted
|
||||
|
||||
withSmpServerStoreMsgLogOn t testPort $ \_ -> do
|
||||
get alice =##> ratchetSyncP bobId RSAgreed
|
||||
get bob2 =##> ratchetSyncP aliceId RSAgreed
|
||||
concurrently_
|
||||
(get alice =##> ratchetSyncP bobId RSAgreed)
|
||||
(get bob2 =##> ratchetSyncP aliceId RSAgreed)
|
||||
get alice =##> ratchetSyncP bobId RSOk
|
||||
get bob2 =##> ratchetSyncP aliceId RSOk
|
||||
runRight_ $ exchangeGreetingsMsgIds alice bobId 12 bob2 aliceId 9
|
||||
|
||||
Reference in New Issue
Block a user