Skip to content

Use TestHost consistently#45861

Merged
tmat merged 5 commits intodotnet:masterfrom
tmat:RemoteTestOption
Jul 11, 2020
Merged

Use TestHost consistently#45861
tmat merged 5 commits intodotnet:masterfrom
tmat:RemoteTestOption

Conversation

@tmat
Copy link
Member

@tmat tmat commented Jul 10, 2020

Some tests used bool outOfProcess and others TestHost enum (multiple copies of it).

Replace bool outOfProcess with a single TestHost enum everywhere.

@tmat tmat requested review from a team as code owners July 10, 2020 02:40
Copy link
Member Author

@tmat tmat Jul 10, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Another pending PR is moving this file and changing namespace Microsoft.CodeAnalysis.Test.Utilities.RemoteHost to Microsoft.CodeAnalysis.Remote.Testing, so for now leave it like so to avoid merge issues.

@tmat
Copy link
Member Author

tmat commented Jul 10, 2020

@CyrusNajmabadi @dotnet/roslyn-ide PTAL

Copy link
Contributor

@mavasani mavasani left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall LGTM. Probably want to confirm with Cyrus about OutOfProcess_SplitCall/SingleCall values.

@CyrusNajmabadi
Copy link
Contributor

Everything looks fine except for the rename case. either fix or revert that bit. i'm happy to fixup the rename side later if you don't want to deal with it now :)

@tmat tmat force-pushed the RemoteTestOption branch from 625e680 to 714fdfa Compare July 11, 2020 17:49
@tmat
Copy link
Member Author

tmat commented Jul 11, 2020

@CyrusNajmabadi Fixed.

@tmat tmat merged commit 4153950 into dotnet:master Jul 11, 2020
@ghost ghost added this to the Next milestone Jul 11, 2020
@tmat tmat deleted the RemoteTestOption branch July 11, 2020 22:24

public static Option<bool> OOP64Bit => new Option<bool>(
nameof(RemoteHostOptions), nameof(OOP64Bit), defaultValue: false,
storageLocations: new LocalUserProfileStorageLocation(LocalRegistryPath + nameof(OOP64Bit)));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❔ Why is this changing?

@JoeRobich JoeRobich modified the milestones: Next, 16.8.P1 Jul 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants