(Probably) fix random integration test failures. (#18270)

This commit is contained in:
Pieter-Jan Briers
2023-07-25 03:10:50 +02:00
committed by GitHub
parent 5fa1849948
commit 978887bf03
5 changed files with 164 additions and 36 deletions

View File

@@ -12,6 +12,7 @@ using Robust.Shared;
using Robust.Shared.Configuration;
using Robust.Shared.Reflection;
using Robust.Shared.Timing;
using Robust.Shared.Utility;
namespace Content.Server.Administration.Logs;
@@ -196,10 +197,7 @@ public sealed partial class AdminLogManager : SharedAdminLogManager, IAdminLogMa
PreRoundQueue.Set(0);
// ship the logs to Azkaban
var task = Task.Run(async () =>
{
await _db.AddAdminLogs(copy);
});
var task = _db.AddAdminLogs(copy);
_sawmill.Debug($"Saving {copy.Count} admin logs.");