Skip to content

Commit ec0a4c2

Browse files
committed
server gc in net core tests
1 parent 5500c0e commit ec0a4c2

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

tests/Directory.Build.props

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
<NoOptimizationData>false</NoOptimizationData>
1717
<NoInterfaceData>false</NoInterfaceData>
1818
<CompressMetadata>true</CompressMetadata>
19+
<ServerGarbageCollection>true</ServerGarbageCollection>
1920
</PropertyGroup>
2021

2122
</Project>

tests/FSharp.Test.Utilities/XunitHelpers.fs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,7 @@ module OneTimeSetup =
202202
log "Adding AssemblyResolver"
203203
AssemblyResolver.addResolver ()
204204
#endif
205+
log $"Server GC enabled: {System.Runtime.GCSettings.IsServerGC}"
205206
log "Installing TestConsole redirection"
206207
TestConsole.install()
207208

0 commit comments

Comments
 (0)