File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
NETProvider/src/FirebirdSql.Data.UnitTests Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -201,7 +201,7 @@ public void ConnectionPoolingTimeOutTest()
201
201
myConnection2 . Close ( ) ;
202
202
}
203
203
204
- Thread . Sleep ( TimeSpan . FromSeconds ( csb . ConnectionLifeTime + 1 ) ) ;
204
+ Thread . Sleep ( TimeSpan . FromSeconds ( csb . ConnectionLifeTime * 2 ) ) ;
205
205
206
206
Assert . AreEqual ( active , GetActiveConnections ( ) ) ;
207
207
@@ -276,7 +276,7 @@ public void ConnectionPoolingMinPoolSizeTest()
276
276
connections . ForEach ( x => x . Dispose ( ) ) ;
277
277
}
278
278
279
- Thread . Sleep ( TimeSpan . FromSeconds ( csb . ConnectionLifeTime + 1 ) ) ;
279
+ Thread . Sleep ( TimeSpan . FromSeconds ( csb . ConnectionLifeTime * 2 ) ) ;
280
280
281
281
Assert . AreEqual ( active + csb . MinPoolSize , GetActiveConnections ( ) ) ;
282
282
}
Original file line number Diff line number Diff line change @@ -309,7 +309,7 @@ public void DNET595()
309
309
GetSomething ( cs ) ;
310
310
}
311
311
312
- Thread . Sleep ( TimeSpan . FromSeconds ( csb . ConnectionLifeTime + 1 ) ) ;
312
+ Thread . Sleep ( TimeSpan . FromSeconds ( csb . ConnectionLifeTime * 2 ) ) ;
313
313
Assert . AreEqual ( active , GetActiveConnections ( ) ) ;
314
314
}
315
315
You can’t perform that action at this time.
0 commit comments