Skip to content

Commit

Permalink
Run tests with Server GC enabled & concurrent GC disabled. (#3661)
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshKeegan committed Aug 3, 2022
1 parent 27123a9 commit 02c6f32
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 3 deletions.
5 changes: 4 additions & 1 deletion 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 @@ -62,7 +65,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
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 @@ -62,7 +65,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
5 changes: 4 additions & 1 deletion 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 @@ -62,7 +65,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
3 changes: 3 additions & 0 deletions 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

0 comments on commit 02c6f32

Please sign in to comment.