-
Notifications
You must be signed in to change notification settings - Fork 998
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
Remove dependency on RemoteExecutor on some files #12379
base: main
Are you sure you want to change the base?
Remove dependency on RemoteExecutor on some files #12379
Conversation
e3d91a7
to
4b05a67
Compare
4b05a67
to
acddbd1
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #12379 +/- ##
===================================================
+ Coverage 76.03858% 76.12353% +0.08495%
===================================================
Files 3181 3187 +6
Lines 639670 639990 +320
Branches 47215 47229 +14
===================================================
+ Hits 486396 487183 +787
+ Misses 149756 149269 -487
- Partials 3518 3538 +20
Flags with carried forward coverage won't be shown. Click here to find out more. |
public void ParkingWindow_DoesNotThrowOnGarbageCollecting() | ||
{ | ||
using RemoteInvokeHandle invokerHandle = RemoteExecutor.Invoke(() => | ||
Task.Run(() => | ||
{ | ||
Control.CheckForIllegalCrossThreadCalls = true; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because this test modifies a static value, it should run in a sequential collection( move it to a new file, like Leaf did) and it should set the static back to the initial value using a try/fianally blocks
acddbd1
to
dd8fb7a
Compare
4ddda8b
to
22a7e71
Compare
22a7e71
to
db59ce0
Compare
Fixes #
Proposed changes
Customer Impact
Regression?
Risk
Screenshots
Before
After
Test methodology
Accessibility testing
Test environment(s)
Microsoft Reviewers: Open in CodeFlow