Don't run GC collect in startup in integration tests.

Oof.
This commit is contained in:
Pieter-Jan Briers
2022-12-09 21:22:23 +01:00
parent c2de890441
commit e71cab167b
4 changed files with 18 additions and 3 deletions
+4 -1
View File
@@ -377,7 +377,10 @@ namespace Robust.Server
WindowsTickPeriod.TimeBeginPeriod((uint) _config.GetCVar(CVars.SysWinTickPeriod));
}
GC.Collect();
if (_config.GetCVar(CVars.SysGCCollectStart))
{
GC.Collect();
}
ProgramShared.RunExecCommands(_consoleHost, _commandLineArgs?.ExecCommands);