From 4b5aed52f4796032d7df48696c4c35425a942326 Mon Sep 17 00:00:00 2001 From: Pieter-Jan Briers Date: Wed, 1 Jul 2020 02:23:52 +0200 Subject: [PATCH] Disable net.interp in SimplePredictReconcileTest.cs Since it doesn't work and I just changed the engine default and this broke everything. --- .../Tests/Networking/SimplePredictReconcileTest.cs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Content.IntegrationTests/Tests/Networking/SimplePredictReconcileTest.cs b/Content.IntegrationTests/Tests/Networking/SimplePredictReconcileTest.cs index e997d69c1d..794dfb0fe6 100644 --- a/Content.IntegrationTests/Tests/Networking/SimplePredictReconcileTest.cs +++ b/Content.IntegrationTests/Tests/Networking/SimplePredictReconcileTest.cs @@ -41,6 +41,10 @@ namespace Content.IntegrationTests.Tests.Networking var (client, server) = await StartConnectedServerClientPair( new ClientContentIntegrationOption { + // This test is designed around specific timing values and when I wrote it interpolation was off. + // As such, I would have to update half this test to make sure it works with interpolation. + // I'm kinda lazy. + CVarOverrides = {{"net.interp", "false"}}, ContentBeforeIoC = () => { IoCManager.Resolve().LoadExtraSystemType(); @@ -450,7 +454,8 @@ namespace Content.IntegrationTests.Tests.Networking component.Foo = message.NewFoo; } - EventTriggerList.Add((_gameTiming.CurTick, _gameTiming.IsFirstTimePredicted, old, component.Foo, message.NewFoo)); + EventTriggerList.Add((_gameTiming.CurTick, _gameTiming.IsFirstTimePredicted, old, component.Foo, + message.NewFoo)); } }