Merge remote-tracking branch 'origin/main' into audit/snapshot-gallery
This commit is contained in:
commit
b4b306b1e4
1 file changed
+3
-1
@@ -77,7 +77,9 @@ public class SnapshotPipelineServiceTests
|
||||
await service.StartAsync(CancellationToken.None);
|
||||
try
|
||||
{
|
||||
await Task.Delay(200);
|
||||
var deadline = DateTime.UtcNow.AddSeconds(5);
|
||||
while (store.Cameras.Count == 0 && DateTime.UtcNow < deadline)
|
||||
await Task.Delay(50);
|
||||
// Local fallback applied to the store…
|
||||
var camera = store.Cameras.ShouldHaveSingleItem();
|
||||
camera.Name.ShouldBe("Cam 1");
|
||||
|
||||
Reference in new issue
Block a user