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()
336
336
var stopwatch = Stopwatch . StartNew ( ) ;
337
337
using ( var reader = await cmd . ExecuteReaderAsync ( cts . Token ) )
338
338
{
339
- TestUtilities . AssertDuration ( stopwatch , 450 , 1500 ) ;
339
+ TestUtilities . AssertDuration ( stopwatch , 450 , 3000 ) ;
340
340
341
341
var rows = 0 ;
342
342
try
@@ -371,7 +371,7 @@ public async Task CancelSlowQueryWithTokenAfterNextResult()
371
371
// the call to NextResult should block until the token is cancelled
372
372
var stopwatch = Stopwatch . StartNew ( ) ;
373
373
Assert . True ( await reader . NextResultAsync ( cts . Token ) ) ;
374
- TestUtilities . AssertDuration ( stopwatch , 450 , 500 ) ;
374
+ TestUtilities . AssertDuration ( stopwatch , 450 , 1500 ) ;
375
375
376
376
int rows = 0 ;
377
377
try
Original file line number Diff line number Diff line change @@ -127,7 +127,7 @@ public async Task ConnectTimeoutAsync()
127
127
var stopwatch = Stopwatch . StartNew ( ) ;
128
128
await Assert . ThrowsAsync < MySqlException > ( async ( ) => await connection . OpenAsync ( ) ) ;
129
129
stopwatch . Stop ( ) ;
130
- TestUtilities . AssertDuration ( stopwatch , 2900 , 500 ) ;
130
+ TestUtilities . AssertDuration ( stopwatch , 2900 , 1500 ) ;
131
131
}
132
132
}
133
133
Original file line number Diff line number Diff line change @@ -214,7 +214,7 @@ public void ConnectTimeout()
214
214
var stopwatch = Stopwatch . StartNew ( ) ;
215
215
Assert . Throws < MySqlException > ( ( ) => connection . Open ( ) ) ;
216
216
stopwatch . Stop ( ) ;
217
- TestUtilities . AssertDuration ( stopwatch , 2900 , 500 ) ;
217
+ TestUtilities . AssertDuration ( stopwatch , 2900 , 1500 ) ;
218
218
}
219
219
}
220
220
You can’t perform that action at this time.
0 commit comments