integration-0.1.0
Safe HaskellNone
LanguageGHC2021

Testlib.ModService

Synopsis

Documentation

traverseConcurrentlyCodensity :: (HasCallStack => a -> Codensity App ()) -> HasCallStack => [a] -> Codensity App () Source #

Concurrent traverse in the 'Codensity App' monad.

warmupFederation :: HasCallStack => App () Source #

Pre-warm the static domain1 - domain2 federation path once, before the test suite bursts. ensureBackendReachable only warms dynamic backends (it skips the two static domains), so the very first cross-domain call between them can fail with a transient federator-transport error (521 connection refused, 525 SSL, 533 unreachable backend). Polling the federator ingress in both directions here removes that cold-start race globally, rather than retrying individual requests whose execution order is not guaranteed.