mirror of
https://github.com/simplex-chat/simplexmq.git
synced 2026-10-15 21:19:56 +00:00
fix test
This commit is contained in:
@@ -1370,7 +1370,7 @@ subscribeClientServices' c userId =
|
||||
useService = liftIO $ (Just True ==) <$> TM.lookupIO userId (useClientServices c)
|
||||
subscribe = do
|
||||
srvs <- withStore' c (`getClientServiceServers` userId)
|
||||
lift $ M.fromList . zip srvs <$> mapConcurrently (tryAgentError' . subscribeClientService c userId) srvs
|
||||
lift $ M.fromList . zip srvs <$> mapConcurrently (tryAllErrors' . subscribeClientService c userId) srvs
|
||||
|
||||
-- requesting messages sequentially, to reduce memory usage
|
||||
getConnectionMessages' :: AgentClient -> NonEmpty ConnMsgReq -> AM' (NonEmpty (Either AgentErrorType (Maybe SMPMsgMeta)))
|
||||
|
||||
@@ -724,6 +724,7 @@ testServiceDeliverSubscribe =
|
||||
pure $ Just $ Just mId3
|
||||
_ -> pure Nothing
|
||||
]
|
||||
Resp "" NoEntity SALL <- tGet1 sh
|
||||
Resp "12" _ OK <- signSendRecv sh rKey ("12", rId, ACK mId3)
|
||||
Resp "14" _ OK <- signSendRecv h sKey ("14", sId, _SEND "hello 4")
|
||||
Resp "" _ (Msg mId4 msg4) <- tGet1 sh
|
||||
|
||||
Reference in New Issue
Block a user