From 8357940ef6449f692e825e8d8f8db9cbf8ab10d4 Mon Sep 17 00:00:00 2001 From: Pieter-Jan Briers Date: Fri, 4 Dec 2020 13:03:44 +0100 Subject: [PATCH] Try to fix integration test failures. --- Robust.UnitTesting/RobustIntegrationTest.NetManager.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Robust.UnitTesting/RobustIntegrationTest.NetManager.cs b/Robust.UnitTesting/RobustIntegrationTest.NetManager.cs index 548e0c696..9e993a209 100644 --- a/Robust.UnitTesting/RobustIntegrationTest.NetManager.cs +++ b/Robust.UnitTesting/RobustIntegrationTest.NetManager.cs @@ -363,7 +363,7 @@ namespace Robust.UnitTesting public int ConnectionUid { get; } long INetChannel.ConnectionId => ConnectionUid; - public bool IsConnected { get; } + public bool IsConnected { get; set; } // TODO: Should this port value make sense? public IPEndPoint RemoteEndPoint { get; } = new(IPAddress.Loopback, 1212); @@ -402,6 +402,8 @@ namespace Robust.UnitTesting public void Disconnect(string reason) { OtherChannel.TryWrite(new DisconnectMessage(RemoteUid)); + + IsConnected = false; } }