From 56c13a7dc57bafe5777b2e53f91adc96ec9b0c68 Mon Sep 17 00:00:00 2001 From: shum Date: Fri, 16 Oct 2026 16:08:22 +0000 Subject: [PATCH] tests: run relay limit test with test environment --- tests/SMPProxyTests.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/SMPProxyTests.hs b/tests/SMPProxyTests.hs index 626326669..55c7f6929 100644 --- a/tests/SMPProxyTests.hs +++ b/tests/SMPProxyTests.hs @@ -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