From b36ede9a96bbf11c7117607953e94d9fd27353fd Mon Sep 17 00:00:00 2001 From: Jordan Dominion Date: Wed, 25 Sep 2024 07:05:08 -0400 Subject: [PATCH] Work around a race condition --- tests/Tgstation.Server.Tests/Live/UsersTest.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/Tgstation.Server.Tests/Live/UsersTest.cs b/tests/Tgstation.Server.Tests/Live/UsersTest.cs index 1ef0a26ef1..b5a821a995 100644 --- a/tests/Tgstation.Server.Tests/Live/UsersTest.cs +++ b/tests/Tgstation.Server.Tests/Live/UsersTest.cs @@ -40,8 +40,9 @@ public async ValueTask Run(CancellationToken cancellationToken) observer, cancellationToken); + await BasicTests(cancellationToken); + await ValueTaskExtensions.WhenAll( - BasicTests(cancellationToken), TestCreateSysUser(cancellationToken), TestSpamCreation(cancellationToken));