From f46fdb3484295063b9fe10cae32a1709cd442e49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20L=C3=BCck?= Date: Tue, 24 Jan 2017 18:44:17 +0100 Subject: [PATCH] Skip context tests on legacy HHVM < 3.13 See https://3v4l.org/hB4Tc for the basic gist of this --- tests/FunctionalServerTest.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/FunctionalServerTest.php b/tests/FunctionalServerTest.php index 31ea9ab7..6e7451b0 100644 --- a/tests/FunctionalServerTest.php +++ b/tests/FunctionalServerTest.php @@ -46,6 +46,11 @@ public function testEmitsConnectionEvenIfConnectionIsCancelled() public function testAppliesContextOptionsToSocketStreamResource() { + if (defined('HHVM_VERSION') && HHVM_VERSION < 3.13) { + // https://3v4l.org/hB4Tc + $this->markTestSkipped('Not supported on legacy HHVM < 3.13'); + } + $loop = Factory::create(); $server = new Server($loop, array(