Skip to content

Commit 6eca9e5

Browse files
YunchuWangCopilot
andauthored
Update test/Grpc.IntegrationTests/GrpcDurableTaskClientIntegrationTests.cs
Co-authored-by: Copilot <[email protected]>
1 parent 0e8e568 commit 6eca9e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/Grpc.IntegrationTests/GrpcDurableTaskClientIntegrationTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -638,7 +638,7 @@ static async Task<string> LongRunningOrchestration(TaskOrchestrationContext cont
638638
context.SetCustomStatus("waiting");
639639
// Wait for external event or a timer (30 seconds) to allow suspend/resume operations
640640
Task<string> eventTask = context.WaitForExternalEvent<string>("event");
641-
Task timerTask = context.CreateTimer(TimeSpan.FromSeconds(30), CancellationToken.None);
641+
Task timerTask = context.CreateTimer(TimeSpan.FromSeconds(30), context.CancellationToken);
642642
await Task.WhenAny(eventTask, timerTask);
643643

644644
if (shouldThrow)

0 commit comments

Comments
 (0)