We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents dcd6a1c + bf93fe8 commit dd1fe75Copy full SHA for dd1fe75
test/Grpc.IntegrationTests/GrpcDurableTaskClientIntegrationTests.cs
@@ -420,8 +420,11 @@ public async Task ScheduleNewOrchestrationInstance_WithDedupeStatuses_AllowsCrea
420
OrchestrationRuntimeStatus.Failed));
421
422
createdInstanceId.Should().Be(instanceId);
423
+
424
+ // Wait for the instance to start before checking status
425
+ await server.Client.WaitForInstanceStartAsync(instanceId, default);
426
- // Verify the instance was created
427
+ // Verify the instance was created and is running
428
OrchestrationMetadata? metadata = await server.Client.GetInstanceAsync(instanceId, false);
429
metadata.Should().NotBeNull();
430
metadata!.RuntimeStatus.Should().Be(OrchestrationRuntimeStatus.Running);
0 commit comments