-
Notifications
You must be signed in to change notification settings - Fork 76
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
reschedule before AutoResetEvent.Reset #496
Conversation
Thanks -- can you add the corresponding test for deadlock as well? Best place for it is here: |
@microsoft-github-policy-service agree |
This is great addition @aoli-al , thanks for adding the test too! Just kicked off CI to run on this |
Could you also update the hashes in this test script: https://github.com/microsoft/coyote/blob/main/Tests/compare-rewriting-diff-logs.ps1 This is because the new added test changed the expected binary-rewriting hash of the
in CI: https://github.com/microsoft/coyote/actions/runs/8113588744/job/22183054931?pr=496 |
If everything passes, I will merge this. It was great that you added this feature under the |
Is it expected that Coyote will generate different |
Great observation, yea exactly what you said happens. To simplify this we just run this specific check on windows only ( |
Here is the log for the failing test. I'm not able to reproduce it on my machine. Is this test flaky? |
Yea seems that test is somehow flaky. But orthogonal to your PR. Everything passed so I will approve and merge. Thanks for your contribution! |
This fixes #495
Manually tested with the above code. Can confirm coyote successfully identifies the bug.