Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test suite failure with hspec 2.5 #1

Closed
DanBurton opened this issue Mar 19, 2018 · 2 comments
Closed

Test suite failure with hspec 2.5 #1

DanBurton opened this issue Mar 19, 2018 · 2 comments

Comments

@DanBurton
Copy link

> /tmp/stackage-build12/pipes-misc-0.4.0.1$ dist/build/pipes-misc-test/pipes-misc-test

Misc
  Buffered
  Locally +10 to second
pipes-misc-test: thread blocked indefinitely in an MVar operation

I was able to reproduce this like so:

stack unpack pipes-misc-0.4.0.1 && cd pipes-misc-0.4.0.1
edit stack.yaml # add the following stack.yaml
stack test
# stack.yaml
resolver: nightly-2018-03-18
extra-deps:
- Decimal-0.5.1
- pipes-concurrency-2.0.10

However, note that the suite passes if an older version of hspec is used

resolver: nightly-2018-03-18
extra-deps:
- hspec-2.4.8
- hspec-core-2.4.8
- hspec-discover-2.4.8
- Decimal-0.5.1
- pipes-concurrency-2.0.10

This is an unfortunate situation with ghc/hspec, and I'm not sure if there is a proper resolution to it.
See also: jcristovao/enclosed-exceptions#12

DanBurton added a commit to commercialhaskell/stackage that referenced this issue Mar 19, 2018
@louispan
Copy link
Owner

Thanks for the detailed steps to reproduce. I can reproduce it and will try to find time over the week to fix it. Unfortunately, in the meantime it'll have to stay off stackage :(

@louispan
Copy link
Owner

louispan commented Jul 2, 2018

I couldn't work out a way to avoid the test failure. I've commented out the test for now 0748c89.

@louispan louispan closed this as completed Jul 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants