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 24, 2017
1 parent 85e878b commit f46fdb3
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 @@ -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(
Expand Down

0 comments on commit f46fdb3

Please sign in to comment.