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 092c340 commit 73cf240Copy full SHA for 73cf240
src/Ydb.Sdk/test/Ydb.Sdk.Ado.Tests/YdbConnectionTests.cs
@@ -201,7 +201,7 @@ public async Task OpenAsync_WhenCancelTokenIsCanceled_ThrowYdbException()
201
connection.ConnectionString = ConnectionString + ";MinSessionPool=1";
202
using var cts = new CancellationTokenSource();
203
cts.Cancel();
204
- await Assert.ThrowsAsync<OperationCanceledException>(async () => await connection.OpenAsync(cts.Token));
+ await Assert.ThrowsAnyAsync<OperationCanceledException>(async () => await connection.OpenAsync(cts.Token));
205
Assert.Equal(ConnectionState.Closed, connection.State);
206
}
207
0 commit comments