mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-25 14:06:41 +01:00
Fix test cleaning
This commit is contained in:
@@ -75,8 +75,11 @@ namespace Tgstation.Server.Tests.Live
|
||||
|
||||
public LiveTestingServer(SwarmConfiguration swarmConfiguration, bool enableOAuth, ushort port = 15010)
|
||||
{
|
||||
if(needCleanup)
|
||||
if (needCleanup)
|
||||
{
|
||||
needCleanup = false;
|
||||
Cleanup(BaseDirectory).GetAwaiter().GetResult();
|
||||
}
|
||||
|
||||
Assert.IsTrue(port >= 10000); // for testing bridge request limit
|
||||
Directory = BaseDirectory;
|
||||
|
||||
Reference in New Issue
Block a user