mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-07-17 02:52:55 +01:00
Double a test timeout
This commit is contained in:
@@ -782,7 +782,7 @@ namespace Tgstation.Server.Tests.Live.Instance
|
||||
ourProcessHandler.Suspend();
|
||||
global::System.Console.WriteLine($"WATCHDOG TEST {instanceClient.Metadata.Id}: FINISH PROCESS SUSPEND FOR HEALTH CHECK DEATH. WAITING FOR LIFETIME {ourProcessHandler.Id}.");
|
||||
|
||||
await Task.WhenAny(ourProcessHandler.Lifetime, Task.Delay(TimeSpan.FromMinutes(2), cancellationToken));
|
||||
await Task.WhenAny(ourProcessHandler.Lifetime, Task.Delay(TimeSpan.FromMinutes(4), cancellationToken));
|
||||
Assert.IsTrue(ourProcessHandler.Lifetime.IsCompleted);
|
||||
|
||||
var timeout = 20;
|
||||
|
||||
Reference in New Issue
Block a user