-
Notifications
You must be signed in to change notification settings - Fork 5k
Long running test: InvalidJsonForTypeShouldFail #42817
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
I give this line an A+ for foreshadowing:
@layomia what's supposed to be happening here? |
@ericstj the test is passing many variations of invalid JSON to the deserializer (mapping to complex objects like lists, dictionaries, and objects) to make sure that we always throw a sane exception rather than having bad bugs like leaking We could investigate seeing if we can reduce the number of test cases here (from ~140k) to something more sane, but I think making the test outer-loop would work well since we don't expect many inner-loop changes at this stage that could make them fail. |
From what I see we run those 140k test rows in serial. Can we add some parallelization to make this faster? ie Parallel.ForEach |
@ViktorHofer - I opened a PR #42960. |
https://dev.azure.com/dnceng/public/_build/results?buildId=833169&view=ms.vss-test-web.build-test-results-tab
Configuration:
net5.0-Windows_NT-Release-x86-CoreCLR_checked-Windows.10.Amd64.Open
@layomia @steveharter @jozkee please take a look. Seems to happening in multiple builds.
The text was updated successfully, but these errors were encountered: