Disable flaky test in BulkDispatchWorkflowsTests.
Commented out a test that was marked as flaky and skipped. This ensures the test suite remains reliable while the issue is addressed in the future.
This commit is contained in:
parent
a44f082dff
commit
b99c0c8412
|
|
@ -21,20 +21,20 @@ public class BulkDispatchWorkflowsTests : AppComponentTest
|
|||
_signalManager = Scope.ServiceProvider.GetRequiredService<SignalManager>();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Dispatches and waits for child workflows to complete.
|
||||
/// </summary>
|
||||
[Fact(Skip = "This test is flaky and needs to be fixed.")]
|
||||
public async Task DispatchAndWaitWorkflow_ShouldWaitForChildWorkflowToComplete()
|
||||
{
|
||||
var workflowClient = await _workflowRuntime.CreateClientAsync();
|
||||
await workflowClient.CreateInstanceAsync(new CreateWorkflowInstanceRequest
|
||||
{
|
||||
WorkflowDefinitionHandle = WorkflowDefinitionHandle.ByDefinitionId(GreetEmployeesWorkflow.DefinitionId, VersionOptions.Published)
|
||||
});
|
||||
await workflowClient.RunInstanceAsync(RunWorkflowInstanceRequest.Empty);
|
||||
await _signalManager.WaitAsync<string>("Completed");
|
||||
}
|
||||
// /// <summary>
|
||||
// /// Dispatches and waits for child workflows to complete.
|
||||
// /// </summary>
|
||||
// [Fact(Skip = "This test is flaky and needs to be fixed.")]
|
||||
// public async Task DispatchAndWaitWorkflow_ShouldWaitForChildWorkflowToComplete()
|
||||
// {
|
||||
// var workflowClient = await _workflowRuntime.CreateClientAsync();
|
||||
// await workflowClient.CreateInstanceAsync(new CreateWorkflowInstanceRequest
|
||||
// {
|
||||
// WorkflowDefinitionHandle = WorkflowDefinitionHandle.ByDefinitionId(GreetEmployeesWorkflow.DefinitionId, VersionOptions.Published)
|
||||
// });
|
||||
// await workflowClient.RunInstanceAsync(RunWorkflowInstanceRequest.Empty);
|
||||
// await _signalManager.WaitAsync<string>("Completed");
|
||||
// }
|
||||
|
||||
/// <summary>
|
||||
/// Individual items are sent as input to child workflows.
|
||||
|
|
|
|||
Loading…
Reference in a new issue