Disable texture preloading in integration tests (#3625)

* Disable texture preloading in tests

* Robusti updati

* Revert "Robusti updati"

This reverts commit 486fb63783477e66de595febc620cef2f1a672bd.
This commit is contained in:
DrSmugleaf
2021-03-13 03:29:32 +01:00
committed by GitHub
parent 459fee0e6f
commit 8b225ec68f

View File

@@ -7,6 +7,7 @@ using Content.Server.Interfaces.GameTicking;
using Content.Shared;
using NUnit.Framework;
using Robust.Server.Maps;
using Robust.Shared;
using Robust.Shared.ContentPack;
using Robust.Shared.IoC;
using Robust.Shared.Log;
@@ -52,6 +53,9 @@ namespace Content.IntegrationTests
// Basically just makes the CI logs a mess.
options.CVarOverrides["discord.enabled"] = "false";
// Avoid preloading textures in tests.
options.CVarOverrides.TryAdd(CVars.TexturePreloadingEnabled.Name, "false");
return base.StartClient(options);
}