Files
simplexmq/tests
Evgeny @ SimpleX Chat 71179c4d4e servers: read one message per queue in SUB, omit DB connection string (#2007)
* smp server: plan to deliver messages sent while a subscription is registered

* tests: reproduce subscription races with SEND and DEL

* smp server: move subscriber registration functions to top level

* smp server: deliver messages sent while a subscription is registered

* smp server: deliver later messages after SUB while a delivery waits

* smp server: correct the subscription race plan and a comment

* smp server: remove delivery thread state change and its test

* smp server: remove PostgreSQL performance changes of SUB batches

* smp server: record the split of the subscription race fix in the plan

* smp server: link the split pull requests in the subscription race plan

* smp server: shorten row locks of PostgreSQL SUB batches

* smp server: read first messages of SUB batches without queue lookups

* servers: omit database connection string from output, save stats first

* smp server: remove the plan of the closed subscription race fix
2026-11-10 12:04:09 +00:00
..
2026-05-21 14:14:03 +01:00

Running tests with coverage

  1. Uncomment coverage sections in cabal.project file.
  2. Add -fhpc to ghc-options of simplexmq-test in simplexmq.cabal file.
  3. Disable (xit) test "should subscribe to multiple (200) subscriptions with batching", enable (comment skip) the next test instead.
  4. Run cabal test.
  5. Open generated coverage report in the browser.