Skip to content

Commit 02c6f32

Browse files
authored
Run tests with Server GC enabled & concurrent GC disabled. (#3661)
1 parent 27123a9 commit 02c6f32

File tree

4 files changed

+15
-3
lines changed

4 files changed

+15
-3
lines changed

src/testhost.arm64/app.config

+4-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0" />
55
</startup>
66
<runtime>
7+
<gcServer enabled="true" />
8+
<gcConcurrent enabled="false" />
9+
710
<legacyUnhandledExceptionPolicy enabled="1" />
811
<legacyCorruptedStateExceptionsPolicy enabled="true" />
912

@@ -62,7 +65,7 @@
6265
<!--<add key="ExecutionThreadApartmentState" value ="MTA"/>-->
6366
<!--<add key="TraceLogMaxFileSizeInKb" value ="10240"/>-->
6467
<!-- MsTest Adapter Specific AppSettings -->
65-
68+
6669
<!-- This flag is added to support test execution for net35 tests through TMI adapter. -->
6770
<add key="TestProjectRetargetTo35Allowed" value="true" />
6871
</appSettings>

src/testhost.x86/app.config

+4-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0" />
55
</startup>
66
<runtime>
7+
<gcServer enabled="true" />
8+
<gcConcurrent enabled="false" />
9+
710
<legacyUnhandledExceptionPolicy enabled="1"/>
811
<legacyCorruptedStateExceptionsPolicy enabled="true"/>
912

@@ -62,7 +65,7 @@
6265
<!--<add key="ExecutionThreadApartmentState" value ="MTA"/>-->
6366
<!--<add key="TraceLogMaxFileSizeInKb" value ="10240"/>-->
6467
<!-- MsTest Adapter Specific AppSettings -->
65-
68+
6669
<!-- This flag is added to support test execution for net35 tests through TMI adapter. -->
6770
<add key="TestProjectRetargetTo35Allowed" value="true" />
6871
</appSettings>

src/testhost/app.config

+4-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0" />
55
</startup>
66
<runtime>
7+
<gcServer enabled="true" />
8+
<gcConcurrent enabled="false" />
9+
710
<legacyUnhandledExceptionPolicy enabled="1" />
811
<legacyCorruptedStateExceptionsPolicy enabled="true" />
912

@@ -62,7 +65,7 @@
6265
<!--<add key="ExecutionThreadApartmentState" value ="MTA"/>-->
6366
<!--<add key="TraceLogMaxFileSizeInKb" value ="10240"/>-->
6467
<!-- MsTest Adapter Specific AppSettings -->
65-
68+
6669
<!-- This flag is added to support test execution for net35 tests through TMI adapter. -->
6770
<add key="TestProjectRetargetTo35Allowed" value="true" />
6871
</appSettings>

src/vstest.console/app.config

+3
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0" />
55
</startup>
66
<runtime>
7+
<gcServer enabled="true" />
8+
<gcConcurrent enabled="false" />
9+
710
<legacyUnhandledExceptionPolicy enabled="1" />
811

912
<!-- To get stacktrace information for portable and embedded pdbs when net472 installed on machine.

0 commit comments

Comments
 (0)