Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Aug 25, 2022

Backport of #74524 to release/7.0

/cc @karelz @StephenMolloy

Customer Impact

Blocks clean CI - test-only change.

Fixes #74370

These new tests use a few simple collections of schemas grouped in XmlSchemaSet. They were ported from NetFx, where apparently the test environment ran each test one at a time. (Seems that is also the case "on my machine" and in whatever pipelines were run to allow the tests to get checked in.) But XmlSchemaSet is not thread safe, so parallel execution of tests using a static XmlSchemaSet could be problematic. This change builds a new XmlSchemaSet per test instead of re-using a single instance.

Testing

CI

Risk

Low - test only change

@ghost
Copy link

ghost commented Aug 25, 2022

I couldn't figure out the best area label to add to this PR. If you have write-permissions please help me learn by adding exactly one area label.

@karelz karelz requested a review from mconnew August 25, 2022 10:04
@karelz karelz added this to the 7.0.0 milestone Aug 25, 2022
@carlossanlop
Copy link
Contributor

@HeathAr are you the right person to approve this 7.0 backport?

@carlossanlop
Copy link
Contributor

Oh nevermind. This is only a test change.

@carlossanlop carlossanlop merged commit 71b27a5 into release/7.0 Aug 25, 2022
@carlossanlop carlossanlop deleted the backport/pr-74524-to-release/7.0 branch August 25, 2022 15:58
@ghost ghost locked as resolved and limited conversation to collaborators Sep 24, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants