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 5a4ac3f commit c44c6afCopy full SHA for c44c6af
src/Ydb.Sdk/tests/Topic/WriterUnitTests.cs
@@ -130,9 +130,9 @@ public async Task Initialize_WhenFailWriteMessage_ShouldRetryInitializeAndReturn
130
Assert.Equal(PersistenceStatus.Written, (await writer.WriteAsync("abacaba")).Status);
131
132
// check attempt repeated!!!
133
- _mockStream.Verify(stream => stream.Write(It.IsAny<FromClient>()),
+ _mockStream.Verify(stream => stream.Write(It.IsAny<FromClient>()), Times.Exactly(3));
134
+ _mockStream.Verify(stream => stream.MoveNextAsync(),
135
Times.AtLeast(2)); // run processing ack may not be able to start on time
- _mockStream.Verify(stream => stream.MoveNextAsync(), Times.Exactly(3));
136
_mockStream.Verify(stream => stream.Current, Times.Exactly(2));
137
}
138
0 commit comments