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

Oof.
This commit is contained in:
Pieter-Jan Briers
2022-12-09 21:22:10 +01:00
parent c2de890441
commit e71cab167b
4 changed files with 18 additions and 3 deletions

View File

@@ -650,6 +650,7 @@ namespace Robust.UnitTesting
{
("log.runtimelog", "false"),
(CVars.SysWinTickPeriod.Name, "-1"),
(CVars.SysGCCollectStart.Name, "false"),
(RTCVars.FailureLogLevel.Name, (Options?.FailureLogLevel ?? RTCVars.FailureLogLevel.DefaultValue).ToString())
});
@@ -817,6 +818,8 @@ namespace Robust.UnitTesting
// Avoid preloading textures.
(CVars.ResTexturePreloadingEnabled.Name, "false"),
(CVars.SysGCCollectStart.Name, "false"),
(RTCVars.FailureLogLevel.Name, (Options?.FailureLogLevel ?? RTCVars.FailureLogLevel.DefaultValue).ToString())
});