@@ -272,7 +272,7 @@ public void Socket_ConnectAsyncDnsEndPoint_HostNotFound()
272
272
bool willRaiseEvent = sock . ConnectAsync ( args ) ;
273
273
if ( willRaiseEvent )
274
274
{
275
- Assert . True ( complete . WaitOne ( TestSettings . PassingTestTimeout ) , "Timed out while waiting for connection" ) ;
275
+ Assert . True ( complete . WaitOne ( TestSettings . PassingTestLongTimeout ) , "Timed out while waiting for connection" ) ;
276
276
complete . Dispose ( ) ; // only dispose on success as we know we're done with the instance
277
277
}
278
278
@@ -332,7 +332,7 @@ public void Socket_StaticConnectAsync_Success(SocketImplementationType type)
332
332
333
333
if ( Socket . ConnectAsync ( SocketType . Stream , ProtocolType . Tcp , args ) )
334
334
{
335
- Assert . True ( complete . WaitOne ( TestSettings . PassingTestTimeout ) , "Timed out while waiting for connection" ) ;
335
+ Assert . True ( complete . WaitOne ( TestSettings . PassingTestLongTimeout ) , "Timed out while waiting for connection" ) ;
336
336
}
337
337
338
338
Assert . Equal ( SocketError . Success , args . SocketError ) ;
@@ -348,7 +348,7 @@ public void Socket_StaticConnectAsync_Success(SocketImplementationType type)
348
348
349
349
if ( Socket . ConnectAsync ( SocketType . Stream , ProtocolType . Tcp , args ) )
350
350
{
351
- Assert . True ( complete . WaitOne ( TestSettings . PassingTestTimeout ) , "Timed out while waiting for connection" ) ;
351
+ Assert . True ( complete . WaitOne ( TestSettings . PassingTestLongTimeout ) , "Timed out while waiting for connection" ) ;
352
352
}
353
353
354
354
complete . Dispose ( ) ; // only dispose on success as we know we're done with the instance
@@ -404,7 +404,7 @@ public void Socket_StaticConnectAsync_HostNotFound()
404
404
OnConnectAsyncCompleted ( null , args ) ;
405
405
}
406
406
407
- Assert . True ( complete . WaitOne ( TestSettings . PassingTestTimeout ) , "Timed out while waiting for connection" ) ;
407
+ Assert . True ( complete . WaitOne ( TestSettings . PassingTestLongTimeout ) , "Timed out while waiting for connection" ) ;
408
408
complete . Dispose ( ) ; // only dispose on success as we know we're done with the instance
409
409
410
410
AssertHostNotFoundOrNoData ( args ) ;
0 commit comments