Skip to content
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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ricardobossan
Copy link
Member

@ricardobossan ricardobossan commented Oct 24, 2024

Fixes #

Proposed changes

Customer Impact

Regression?

  • Yes / No

Risk

Screenshots

Before

After

Test methodology

Accessibility testing

Test environment(s)

Microsoft Reviewers: Open in CodeFlow

@ricardobossan ricardobossan self-assigned this Oct 24, 2024
@dotnet-policy-service dotnet-policy-service bot added the draft draft PR label Oct 24, 2024
@ricardobossan ricardobossan force-pushed the Issue_4500_Remove_Dependency_On_RemoteExecutor_In_Tests branch from e3d91a7 to 4b05a67 Compare December 31, 2024 00:37
@ricardobossan ricardobossan force-pushed the Issue_4500_Remove_Dependency_On_RemoteExecutor_In_Tests branch from 4b05a67 to acddbd1 Compare January 7, 2025 19:49
Copy link

codecov bot commented Jan 7, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 76.12353%. Comparing base (0ce1218) to head (4612a1a).
Report is 18 commits behind head on main.

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     
Flag Coverage Δ
Debug 76.12353% <100.00000%> (+0.08495%) ⬆️
integration 18.16929% <ø> (-0.00311%) ⬇️
production 49.99701% <ø> (+0.16343%) ⬆️
test 97.03652% <100.00000%> (+0.00454%) ⬆️
unit 47.25564% <ø> (+0.20114%) ⬆️

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;
Copy link
Member

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

@Tanya-Solyanik Tanya-Solyanik added the 📭 waiting-author-feedback The team requires more information from the author label Jan 7, 2025
@ricardobossan ricardobossan force-pushed the Issue_4500_Remove_Dependency_On_RemoteExecutor_In_Tests branch from acddbd1 to dd8fb7a Compare January 7, 2025 21:26
@dotnet-policy-service dotnet-policy-service bot removed the 📭 waiting-author-feedback The team requires more information from the author label Jan 7, 2025
@ricardobossan ricardobossan force-pushed the Issue_4500_Remove_Dependency_On_RemoteExecutor_In_Tests branch from 4ddda8b to 22a7e71 Compare January 8, 2025 00:36
@ricardobossan ricardobossan force-pushed the Issue_4500_Remove_Dependency_On_RemoteExecutor_In_Tests branch from 22a7e71 to db59ce0 Compare January 9, 2025 00:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
draft draft PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants