Titano: editor, import/archive screens, analysis and render jobs, server sync — in progress #2
@@ -108,6 +108,8 @@ public sealed class RenderNodeClientTests(TestContext context)
|
||||
node.Start();
|
||||
await JobApiTests.WaitForAsync(editor, job.Id, "done");
|
||||
await JobApiTests.WaitForAsync(editor, gif.Id, "done");
|
||||
// Past the claim that found the queue empty, only heartbeats move the node's last sign of life.
|
||||
await Task.Delay(300);
|
||||
var beat = (await server.Database.RenderNodes.ListAsync()).Single().LastHeartbeat;
|
||||
await Task.Delay(400);
|
||||
Assert.Greater((await server.Database.RenderNodes.ListAsync()).Single().LastHeartbeat.Ticks, beat.Ticks);
|
||||
|
||||
Reference in new issue
Block a user