Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lemaitre-aneo committed Aug 6, 2024
1 parent 6d3d088 commit ab98a30
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Common/src/Pollster/RunningTaskProcessor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ protected override async Task ExecuteAsync(CancellationToken stoppingToken)
TaskHandler taskHandler;
try
{
taskHandler = await runningTaskQueue_.ReadAsync(exceptionManager_.EarlyCancellationToken)
taskHandler = await runningTaskQueue_.ReadAsync(exceptionManager_.LateCancellationToken)
.ConfigureAwait(false);
}
catch (OperationCanceledException)
Expand Down
2 changes: 1 addition & 1 deletion Common/tests/Pollster/TaskHandlerTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1606,7 +1606,7 @@ await testServiceProvider.TaskHandler.StopCancelledTask()
await testServiceProvider.TaskTable.GetTaskStatus(taskId)
.ConfigureAwait(false));

Assert.AreEqual(QueueMessageStatus.Processed,
Assert.AreEqual(QueueMessageStatus.Cancelled,
sqmh.Status);
}
}

0 comments on commit ab98a30

Please sign in to comment.