arbiter-test-0.1.0.0
arbiter-test
Safe HaskellNone
LanguageGHC2024

Arbiter.Test.ConcurrencyModel

Description

Property tests for per-job concurrency limits against an exact model.

Synopsis

Documentation

concurrencyModelSpec :: HasRegistry sm CLReg => (forall a. sm a -> IO a) -> Text -> (forall a. (Connection -> IO a) -> IO a) -> SpecSource #

Arguments

:: HasRegistry sm CLReg 
=> (forall a. sm a -> IO a)

Runner

-> Text 
-> (forall a. (Connection -> IO a) -> IO a)

Raw-connection accessor

-> Spec 

The concurrency-limit model properties, run against any backend. The schema must hold the concurrencyTable queue.