Skip to content

Commit d5d6c3a

Browse files
committed
Fixes tests
1 parent 2400885 commit d5d6c3a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/ServiceControl/Operations/ErrorIngestion.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,7 @@ async Task OnMessage(MessageContext messageContext, CancellationToken cancellati
269269
}
270270

271271
var taskCompletionSource = new TaskCompletionSource<bool>(TaskCreationOptions.RunContinuationsAsynchronously);
272+
messageContext.SetTaskCompletionSource(taskCompletionSource);
272273

273274
// Ideally we want to propagate the cancellationToken to the batch handling
274275
// but cancellation in only cancelled when endpointInstance.Stop is cancelled, not when invoked.

0 commit comments

Comments
 (0)