jfischoff / tmp-postgres

Create temporary postgres instances
BSD 3-Clause "New" or "Revised" License
53 stars 17 forks source link

Test "doesnt deadlock if the parent directory is missing multithreaded version" is flaky #248

Open kmicklas opened 4 years ago

kmicklas commented 4 years ago

On hackage release 1.34.1.0 this test is sometimes passing and sometimes failing for me.

jfischoff commented 4 years ago

What are you OS and postgres version specs?

jfischoff commented 4 years ago

Also can you paste the failure message?

kmicklas commented 4 years ago

This is on NixOS 19.09 with Postgres 11.5.

Failures:

  test/Main.hs:88:3:
  1) cacheAction doesnt deadlock if the parent directory is missing multithreaded version
       expected: []
        but got: ["tmp-postgres-data-ee6ff3e463446c9d"]

  To rerun use: --match "/cacheAction/doesnt deadlock if the parent directory is missing multithreaded version/"

Randomized with seed 1376936273

If you use Nix I can send you the exact derivation.

jfischoff commented 4 years ago

I don’t use nix but have before. Please send my the anything I can use to repro.