Uptake requireTestIsolation to replace TestGroups.json - #4165
Merged
Sun Haoran (haoranpb) merged 4 commits intoJul 17, 2025
Merged
Sun Haoran (haoranpb) merged 4 commits into
Sun Haoran (haoranpb) merged 4 commits into
Conversation
…te/haoransun/bcapp-uptake-requestTestIsolation
This reverts commit e25595a.
Alexander Holstrup (aholstrup1)
approved these changes
Jul 17, 2025
Sun Haoran (haoranpb)
enabled auto-merge (squash)
July 17, 2025 13:17
Onat Buyukakkus (onbuyuka)
approved these changes
Jul 17, 2025
Sun Haoran (haoranpb)
deleted the
private/haoransun/bcapp-uptake-requestTestIsolation
branch
July 17, 2025 13:23
Sun Haoran (haoranpb)
added a commit
that referenced
this pull request
Jul 21, 2025
#### Summary <!-- Provide a general summary of your changes --> Follow up on #4165 , managed to get rid of `System Application Tests (No Isolation)`. The trick is to set `renewClientContextBetweenTests` flag when calling `Run-Tests..` twice in a roll. It might make build tasks slightly longer, but save us from building System App twice to run tests that take less than a second. #### Work Item(s) <!-- Add the issue number here after the #. The issue needs to be open and approved. Submitting PRs with no linked issues or unapproved issues is highly discouraged. --> Fixes [AB#592504](https://dynamicssmb2.visualstudio.com/1fcb79e7-ab07-432a-a3c6-6cf5a88ba4a5/_workitems/edit/592504)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
ReplaceCouldn't figure out how to runSystem Application Tests (No Isolation)project with the latestRequireTestIsolationproperty.Run-TestsInBcContainertwice, it is failing build...Replace
TestGroups.jsonwith the latestRequireTestIsolationproperty. This is a follow up for #4137 .The change simplifies the build script, removing the need to maintain the
TestGroups.json.Work Item(s)
Fixes AB#581153