tests: run relay limit test with test environment

This commit is contained in:
shum committed 2026-10-16 16:08:22 +00:00
1 parent 344fd969ab
commit 56c13a7dc5
1 file changed
+1 -1
+1 -1
View File
@@ -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