-
Notifications
You must be signed in to change notification settings - Fork 214
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
Quickcheck-dynamic test fails. #516
Comments
|
As far as I can tell, the failure is caused by a thread still being alive 1ms after it was killed. It only happens for the very first test, so it might be caused by the run-time system not being warmed up properly. A work-around that seems to work is to add a test that waits 100ms before testing the actual property: testProperty "Wait for run-time system to warm up??" $ withMaxSuccess 1 $ ioProperty $ do
True <$ threadDelay 100000 IMO this is a bad test for the |
@UlfNorell Thanks! |
Summary
Quickcheck-dynamic test fails. This happens sort of rarely.
Steps to reproduce the behavior
Actual Result
Expected Result
test passes
Describe the approach you would take to fix this
No response
System info
main branch on 61de89d
or
next-node branch on b8d3a89
The text was updated successfully, but these errors were encountered: