Skip to content

Commit c0b2e73

Browse files
Update test/DurableTask.AzureStorage.Tests/AzureStorageScaleTests.cs
Co-authored-by: David Justo <david.justo.1996@gmail.com>
1 parent 80b130c commit c0b2e73

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/DurableTask.AzureStorage.Tests/AzureStorageScaleTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -572,7 +572,7 @@ await TestHelpers.WaitFor(
572572
// Worker 2 completes the work item
573573
await service2.CompleteTaskOrchestrationWorkItemAsync(workItem2, runtimeState, new List<TaskMessage>(), new List<TaskMessage>(), new List<TaskMessage>(), null, null);
574574
// Now worker 1 will attempt to complete the same work item. Since this is the first attempt to complete a work item and add a history for the orchestration (by worker 1),
575-
// there is no etag stored for the OrchestrationSession, and so the exception that will be thrown is a conflict since worker 2 already created a history for the orchestration in its completion of the work item.
575+
// there is no etag stored for the OrchestrationSession, and so the a "conflict" exception will be thrown as worker 2 already created a history for the orchestration.
576576
SessionAbortedException exception = await Assert.ThrowsExceptionAsync<SessionAbortedException>(async () =>
577577
await service1.CompleteTaskOrchestrationWorkItemAsync(workItem1, runtimeState, new List<TaskMessage>(), new List<TaskMessage>(), new List<TaskMessage>(), null, null)
578578
);

0 commit comments

Comments
 (0)