diff --git a/tests/TcpConnectorTest.php b/tests/TcpConnectorTest.php index 964297d..f23479c 100644 --- a/tests/TcpConnectorTest.php +++ b/tests/TcpConnectorTest.php @@ -65,7 +65,12 @@ public function connectionToIp6TcpServerShouldSucceed() $server = new Server($loop); $server->on('connection', $this->expectCallableOnce()); $server->on('connection', array($server, 'shutdown')); - $server->listen(9999, '::1'); + + try { + $server->listen(9999, '::1'); + } catch (\Exception $e) { + $this->markTestSkipped('Unable to start IPv6 server socket (IPv6 not supported on this system?)'); + } $connector = new TcpConnector($loop);