File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -336,7 +336,7 @@ public async Task CancelSlowQueryWithTokenAfterExecuteReader()
336336 var stopwatch = Stopwatch . StartNew ( ) ;
337337 using ( var reader = await cmd . ExecuteReaderAsync ( cts . Token ) )
338338 {
339- TestUtilities . AssertDuration ( stopwatch , 450 , 1500 ) ;
339+ TestUtilities . AssertDuration ( stopwatch , 450 , 3000 ) ;
340340
341341 var rows = 0 ;
342342 try
@@ -371,7 +371,7 @@ public async Task CancelSlowQueryWithTokenAfterNextResult()
371371 // the call to NextResult should block until the token is cancelled
372372 var stopwatch = Stopwatch . StartNew ( ) ;
373373 Assert . True ( await reader . NextResultAsync ( cts . Token ) ) ;
374- TestUtilities . AssertDuration ( stopwatch , 450 , 500 ) ;
374+ TestUtilities . AssertDuration ( stopwatch , 450 , 1500 ) ;
375375
376376 int rows = 0 ;
377377 try
Original file line number Diff line number Diff line change @@ -127,7 +127,7 @@ public async Task ConnectTimeoutAsync()
127127 var stopwatch = Stopwatch . StartNew ( ) ;
128128 await Assert . ThrowsAsync < MySqlException > ( async ( ) => await connection . OpenAsync ( ) ) ;
129129 stopwatch . Stop ( ) ;
130- TestUtilities . AssertDuration ( stopwatch , 2900 , 500 ) ;
130+ TestUtilities . AssertDuration ( stopwatch , 2900 , 1500 ) ;
131131 }
132132 }
133133
Original file line number Diff line number Diff line change @@ -214,7 +214,7 @@ public void ConnectTimeout()
214214 var stopwatch = Stopwatch . StartNew ( ) ;
215215 Assert . Throws < MySqlException > ( ( ) => connection . Open ( ) ) ;
216216 stopwatch . Stop ( ) ;
217- TestUtilities . AssertDuration ( stopwatch , 2900 , 500 ) ;
217+ TestUtilities . AssertDuration ( stopwatch , 2900 , 1500 ) ;
218218 }
219219 }
220220
You can’t perform that action at this time.
0 commit comments