We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8093a7f commit 6507193Copy full SHA for 6507193
src/Ydb.Sdk/tests/Topic/WriterMockTests.cs
@@ -561,7 +561,7 @@ public async Task WriteAsync_WhenTaskIsAcceptedBeforeCancel_ThrowCancellationExc
561
562
var task = writer.WriteAsync(123L, cancellationTokenSource.Token);
563
nextCompleted.SetResult(true);
564
- await Assert.ThrowsAsync<TaskCanceledException>(() => task);
+ Assert.Equal(PersistenceStatus.Written, (await task).Status);
565
cancellationTokenSource.Cancel();
566
}
567
0 commit comments