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

Run tests with Server GC enabled & concurrent GC disabled. #3661

Merged
merged 1 commit into from
Aug 3, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions src/testhost.arm64/app.config
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0" />
</startup>
<runtime>
<gcServer enabled="true" />
<gcConcurrent enabled="false" />

<legacyUnhandledExceptionPolicy enabled="1" />
<legacyCorruptedStateExceptionsPolicy enabled="true" />

Expand Down Expand Up @@ -57,8 +60,8 @@
<!--<add key="ExecutionThreadApartmentState" value ="MTA"/>-->
<!--<add key="TraceLogMaxFileSizeInKb" value ="10240"/>-->
<!-- MsTest Adapter Specific AppSettings -->

<!-- This flag is added to support test execution for net35 tests through TMI adapter. -->
<add key="TestProjectRetargetTo35Allowed" value="true" />
</appSettings>
</configuration>
</configuration>
5 changes: 4 additions & 1 deletion src/testhost.x86/app.config
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0" />
</startup>
<runtime>
<gcServer enabled="true" />
<gcConcurrent enabled="false" />

<legacyUnhandledExceptionPolicy enabled="1"/>
<legacyCorruptedStateExceptionsPolicy enabled="true"/>

Expand Down Expand Up @@ -57,7 +60,7 @@
<!--<add key="ExecutionThreadApartmentState" value ="MTA"/>-->
<!--<add key="TraceLogMaxFileSizeInKb" value ="10240"/>-->
<!-- MsTest Adapter Specific AppSettings -->

<!-- This flag is added to support test execution for net35 tests through TMI adapter. -->
<add key="TestProjectRetargetTo35Allowed" value="true" />
</appSettings>
Expand Down
7 changes: 5 additions & 2 deletions src/testhost/app.config
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0" />
</startup>
<runtime>
<gcServer enabled="true" />
<gcConcurrent enabled="false" />

<legacyUnhandledExceptionPolicy enabled="1" />
<legacyCorruptedStateExceptionsPolicy enabled="true" />

Expand Down Expand Up @@ -57,8 +60,8 @@
<!--<add key="ExecutionThreadApartmentState" value ="MTA"/>-->
<!--<add key="TraceLogMaxFileSizeInKb" value ="10240"/>-->
<!-- MsTest Adapter Specific AppSettings -->

<!-- This flag is added to support test execution for net35 tests through TMI adapter. -->
<add key="TestProjectRetargetTo35Allowed" value="true" />
</appSettings>
</configuration>
</configuration>
5 changes: 4 additions & 1 deletion src/vstest.console/app.config
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0" />
</startup>
<runtime>
<gcServer enabled="true" />
<gcConcurrent enabled="false" />

<legacyUnhandledExceptionPolicy enabled="1" />

<!-- To get stacktrace information for portable and embedded pdbs when net472 installed on machine.
Expand Down Expand Up @@ -54,4 +57,4 @@
</sharedListeners>
</system.diagnostics> -->

</configuration>
</configuration>