mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-05-27 11:53:03 +00:00
more races
This commit is contained in:
@@ -1448,6 +1448,7 @@ testUsersSubscribeAfterRestart :: HasCallStack => FilePath -> IO ()
|
||||
testUsersSubscribeAfterRestart tmp = do
|
||||
withNewTestChat tmp "bob" bobProfile $ \bob -> do
|
||||
withNewTestChat tmp "alice" aliceProfile $ \alice -> do
|
||||
threadDelay 100000
|
||||
connectUsers alice bob
|
||||
alice <##> bob
|
||||
|
||||
@@ -1458,8 +1459,7 @@ testUsersSubscribeAfterRestart tmp = do
|
||||
|
||||
withTestChat tmp "alice" $ \alice -> do
|
||||
-- second user is active
|
||||
alice <## "1 contacts connected (use /cs for the list)"
|
||||
alice <## "[user: alice] 1 contacts connected (use /cs for the list)"
|
||||
alice <### ["1 contacts connected (use /cs for the list)", "[user: alice] 1 contacts connected (use /cs for the list)"]
|
||||
|
||||
-- second user receives message
|
||||
alice <##> bob
|
||||
|
||||
@@ -3191,6 +3191,7 @@ testPlanGroupLinkNoContactKnown =
|
||||
testPlanGroupLinkNoContactConnecting :: HasCallStack => FilePath -> IO ()
|
||||
testPlanGroupLinkNoContactConnecting tmp = do
|
||||
gLink <- withNewTestChat tmp "alice" aliceProfile $ \alice -> do
|
||||
threadDelay 100000
|
||||
alice ##> "/g team"
|
||||
alice <## "group #team is created"
|
||||
alice <## "to add members use /a team <name> or /create link #team"
|
||||
|
||||
Reference in New Issue
Block a user