Skip to content

Commit

Permalink
Add a debug message
Browse files Browse the repository at this point in the history
  • Loading branch information
Cyberboss committed Feb 27, 2024
1 parent 57512a4 commit 786f98d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/Tgstation.Server.Tests/Live/Instance/ChatTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@

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;
Expand Down Expand Up @@ -196,7 +198,7 @@ async Task RunDiscord(CancellationToken cancellationToken)
.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");
Expand Down

0 comments on commit 786f98d

Please sign in to comment.