mirror of
https://github.com/simplex-chat/simplexmq.git
synced 2026-10-23 04:22:24 +00:00
tests: run relay limit test with test environment
This commit is contained in:
1 parent
344fd969ab
commit
56c13a7dc5
1 file changed
+1
-1
@@ -570,7 +570,7 @@ testProxyForwardTimeoutStuckSession =
|
||||
rs <- forM ([1 .. 10] :: [Int]) $ \_ -> runExceptT' (proxySMPMessage pc NRMInteractive sess Nothing sId noMsgFlags "hi")
|
||||
rs `shouldSatisfy` elem (Left (ProxyProtocolError (SMP.PROXY SMP.NO_SESSION)))
|
||||
|
||||
testProxyRelayConcurrencyLimit :: IO ()
|
||||
testProxyRelayConcurrencyLimit :: HasTestEnv => IO ()
|
||||
testProxyRelayConcurrencyLimit =
|
||||
withSmpServerConfigOn (transport @TLS) cfg' testPort $ \_ -> do
|
||||
g <- C.newRandom
|
||||
|
||||
Reference in new issue
Block a user