Skip to content

Commit

Permalink
Skip context tests on legacy HHVM < 3.13
Browse files Browse the repository at this point in the history
See https://3v4l.org/hB4Tc for the basic gist of this
  • Loading branch information
clue committed Jan 25, 2017
1 parent 8cf10b7 commit 8ce0fef
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/FunctionalServerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,11 @@ public function testEmitsConnectionWithRemoteIpv6()

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(
Expand Down

0 comments on commit 8ce0fef

Please sign in to comment.