-
Notifications
You must be signed in to change notification settings - Fork 266
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
DynamicDataSource caching causes problems when running tests in parallel. #906
Closed
Tracked by
#910
Labels
Help-Wanted
The issue is up-for-grabs, and can be claimed by commenting
Comments
This class needs to be able work concurrently. testfx/src/Adapter/MSTest.CoreAdapter/Helpers/DataSerializationHelper.cs Lines 14 to 135 in 86845cf
|
This was referenced Jul 7, 2021
@Haplois - just to add to this. I intermittently get this exception with 2.2.5:
Changing the |
Fixed by #998 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@Haplois I will share a complete project when I have more time, but in general, consider a test case like this:
with
GetData
similar to this:If I run such test cases in parallel (method level parallelism) then I see all kinds of exception suggesting that the the test framework attempts to pull the enumerable on different threads. I have plenty of data sources structured like this:
These obviously can't be pulled in parallel either.
Originally posted by @paul-michalik in #871 (comment)
AB#1408168
The text was updated successfully, but these errors were encountered: