-
Notifications
You must be signed in to change notification settings - Fork 751
TestThread does not synchronize properly #1067
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
Comments
Have you considered a race condition at the fixture level? The edit: Correction, |
@ddneilson , can you point to the relevant documentation. AFAIK, by default NUnit runs all tests sequentially. From https://github.com/nunit/docs/wiki/Framework-Parallel-Test-Execution :
|
@lostmsu Interesting. We had seen this test fail as well, and traced our problem down to the fixture not being thread-safe; we were seeing the shared |
Uh oh!
There was an error while loading. Please reload this page.
PyScopeTest.TestThread
does not properly synchronize access tores
andth_cnt
variables.A lock needs to be added to ensure update calls are serialized.
We should increase the number of threads to make the issue stand out if regressed.
For more details see #1022 (comment)
The text was updated successfully, but these errors were encountered: