haskell-servant / servant

Main repository for the servant libraries — DSL for describing, serving, querying, mocking, documenting web applications and more!
https://docs.servant.dev/
1.8k stars 407 forks source link

use `aroundAll` instead of `around` with `testWithApplication` #1694

Closed intolerable closed 1 year ago

intolerable commented 1 year ago

use aroundAll instead of around with testWithApplication, to avoid allocating a new port for every example of a QuickCheck property we're testing (and exhausting the per-process file descriptor limit on Macs)

Fixes #1693