From 8b225ec68f9b1e475868d03d2ddbef82d89fc7b5 Mon Sep 17 00:00:00 2001 From: DrSmugleaf Date: Sat, 13 Mar 2021 03:29:32 +0100 Subject: [PATCH] Disable texture preloading in integration tests (#3625) * Disable texture preloading in tests * Robusti updati * Revert "Robusti updati" This reverts commit 486fb63783477e66de595febc620cef2f1a672bd. --- Content.IntegrationTests/ContentIntegrationTest.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Content.IntegrationTests/ContentIntegrationTest.cs b/Content.IntegrationTests/ContentIntegrationTest.cs index 17cc1be958..c957b78499 100644 --- a/Content.IntegrationTests/ContentIntegrationTest.cs +++ b/Content.IntegrationTests/ContentIntegrationTest.cs @@ -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); }