File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -315,6 +315,10 @@ public function testEmitsErrorWhenAcceptListenerFails()
315
315
*/
316
316
public function testEmitsTimeoutErrorWhenAcceptListenerFails (\RuntimeException $ exception )
317
317
{
318
+ if (defined ('HHVM_VERSION ' )) {
319
+ $ this ->markTestSkipped ('not supported on HHVM ' );
320
+ }
321
+
318
322
$ this ->assertEquals ('Unable to accept new connection: ' . socket_strerror (SOCKET_ETIMEDOUT ), $ exception ->getMessage ());
319
323
$ this ->assertEquals (SOCKET_ETIMEDOUT , $ exception ->getCode ());
320
324
}
Original file line number Diff line number Diff line change @@ -320,6 +320,10 @@ public function testEmitsErrorWhenAcceptListenerFails()
320
320
*/
321
321
public function testEmitsTimeoutErrorWhenAcceptListenerFails (\RuntimeException $ exception )
322
322
{
323
+ if (defined ('HHVM_VERSION ' )) {
324
+ $ this ->markTestSkipped ('not supported on HHVM ' );
325
+ }
326
+
323
327
$ this ->assertEquals ('Unable to accept new connection: ' . socket_strerror (SOCKET_ETIMEDOUT ), $ exception ->getMessage ());
324
328
$ this ->assertEquals (SOCKET_ETIMEDOUT , $ exception ->getCode ());
325
329
}
You can’t perform that action at this time.
0 commit comments