From 5c65d40e80816bee74133f800e2dc254fc08f34f Mon Sep 17 00:00:00 2001 From: VMSolidus Date: Sat, 18 Jan 2025 17:08:18 -0500 Subject: [PATCH] Update PoolTestLogHandler.cs (cherry picked from commit 9ab44b0d84749484f0ff9f5e13f5f646205d113f) --- Content.IntegrationTests/PoolTestLogHandler.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Content.IntegrationTests/PoolTestLogHandler.cs b/Content.IntegrationTests/PoolTestLogHandler.cs index 909bee9785..d1a8492603 100644 --- a/Content.IntegrationTests/PoolTestLogHandler.cs +++ b/Content.IntegrationTests/PoolTestLogHandler.cs @@ -42,6 +42,11 @@ public sealed class PoolTestLogHandler : ILogHandler { var level = message.Level.ToRobust(); + // Ignore Sawmill Warnings. This means tests will only fail on debug asserts. + // Remove this when we fix the loadout performance issue. + if (level == LogLevel.Warning) + return; + if (ShuttingDown && (FailureLevel == null || level < FailureLevel)) return;