Skip to content

Commit 4f6aa83

Browse files
committed
force cancel time on new test into range
1 parent b68cf70 commit 4f6aa83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Microsoft.Data.SqlClient/tests/ManualTests/SQL/SqlCommand/SqlCommandCancelTest.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -586,7 +586,7 @@ private static void AsyncCancelDoesNotWait2(string connStr)
586586

587587
Task executing = ExecuteWaitForAsync(cancellationTokenSource.Token, connStr, delaySeconds);
588588

589-
cancellationTokenSource.CancelAfter(TimeSpan.FromSeconds(cancelSeconds));
589+
cancellationTokenSource.CancelAfter(TimeSpan.FromSeconds(cancelSeconds+1));
590590

591591
try
592592
{

0 commit comments

Comments
 (0)