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