You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 2, 2024. It is now read-only.
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 $doTrue<$ threadDelay 100000
IMO this is a bad test for the StateModel framework; there's no reason to involve IO and concurrency. It would be better to write a mock-up implementation of the registry example using a simple state monad and run the tests on that instead.
ghost
pushed a commit
that referenced
this issue
Jun 23, 2022
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: