Merge pull request #1791 from tgstation/MinorSpuriousDebugInfo [DMDeploy][TGSDeploy]

v6.3.1: Fix a 500 error. Add a debug message
This commit is contained in:
Jordan Dominion
2024-02-27 17:32:44 -05:00
committed by GitHub
3 changed files with 7 additions and 4 deletions
+1 -1
View File
@@ -3,7 +3,7 @@
<!-- Integration tests will ensure they match across the board -->
<Import Project="WebpanelVersion.props" />
<PropertyGroup>
<TgsCoreVersion>6.3.0</TgsCoreVersion>
<TgsCoreVersion>6.3.1</TgsCoreVersion>
<TgsConfigVersion>5.1.0</TgsConfigVersion>
<TgsApiVersion>10.2.0</TgsApiVersion>
<TgsCommonLibraryVersion>7.0.0</TgsCommonLibraryVersion>
@@ -147,8 +147,9 @@ namespace Tgstation.Server.Host.Utils.SignalR
return old;
});
foreach (var context in connections!)
context.Abort();
if (connections != null)
foreach (var context in connections)
context.Abort();
}
}
}
@@ -6,6 +6,8 @@ using System.Threading.Tasks;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Newtonsoft.Json;
using Tgstation.Server.Api.Models;
using Tgstation.Server.Api.Models.Request;
using Tgstation.Server.Api.Models.Response;
@@ -196,7 +198,7 @@ namespace Tgstation.Server.Tests.Live.Instance
.OrderBy(x => x.StartedAt)
.FirstOrDefault();
Assert.IsNotNull(reconnectJob);
Assert.IsNotNull(reconnectJob, $"Jobs: {JsonConvert.SerializeObject(jobs)}");
await WaitForJob(reconnectJob, 60, false, null, cancellationToken);
var channelIdStr = Environment.GetEnvironmentVariable("TGS_TEST_DISCORD_CHANNEL");