-
Notifications
You must be signed in to change notification settings - Fork 4k
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
DefaultDiagnosticUpdateSourceTests contains flaky tests #45877
Comments
Merged
I'll take a look. |
sharwell
changed the title
TestDefaultDiagnosticProviderSemantic is flaky
DefaultDiagnosticUpdateSourceTests contains flaky tests
Jul 29, 2020
This seems to affect this line:
It feels like parallel binding of the same identifier (optimistic initialization) is resulting in a case where one of the side effects (error reporting) is observed from both the path that wins the initialization and the one that doesn't. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The following are known flaky tests within this class:
Details for TestDefaultDiagnosticProviderSemantic
This test has failed 15 times in the last 14 days. Failure message:
Some examples of failures:
https://dev.azure.com/dnceng/public/_build/results?buildId=724700&view=ms.vss-test-web.build-test-results-tab
https://dev.azure.com/dnceng/public/_build/results?buildId=721954&view=ms.vss-test-web.build-test-results-tab
https://dev.azure.com/dnceng/public/_build/results?buildId=718388&view=ms.vss-test-web.build-test-results-tab
One possibly notable detail: failures seem to take ~2.2 seconds for the test to run, successes take under .5 seconds for the most part.
Details for TestDefaultDiagnosticProviderRemove
Builds
Configurations
Details for TestDefaultDiagnosticProviderAll
roslyn/src/VisualStudio/Core/Test/Diagnostics/DefaultDiagnosticUpdateSourceTests.vb
Line 143 in 1386d0f
Example build: https://dev.azure.com/dnceng/public/_build/results?buildId=749582&view=ms.vss-test-web.build-test-results-tab&runId=23240534&resultId=202015&paneView=debug
Xunit log:
The text was updated successfully, but these errors were encountered: