Move NetBufferSize override hack to integration tests specifically (#12795)

This commit is contained in:
Pieter-Jan Briers
2022-12-20 23:25:03 +01:00
committed by GitHub
parent c7ec03d2fb
commit 584921b423
3 changed files with 6 additions and 18 deletions

View File

@@ -16,6 +16,7 @@ using Content.Shared.CCVar;
using NUnit.Framework;
using Robust.Client;
using Robust.Server;
using Robust.Shared;
using Robust.Shared.Configuration;
using Robust.Shared.ContentPack;
using Robust.Shared.Exceptions;
@@ -237,6 +238,10 @@ public static class PoolManager
{
options.CVarOverrides[CCVars.GameMap.Name] = poolSettings.Map;
}
// This breaks some tests.
// TODO: Figure out which tests this breaks.
options.CVarOverrides[CVars.NetBufferSize.Name] = "0";
}
/// <summary>