File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8,6 +8,10 @@ class ConnectionTest extends TestCase
88{
99 public function testCloseConnectionWillCloseSocketResource ()
1010 {
11+ if (defined ('HHVM_VERSION ' )) {
12+ $ this ->markTestSkipped ('HHVM does not support socket operation on test memory stream ' );
13+ }
14+
1115 $ resource = fopen ('php://memory ' , 'r+ ' );
1216 $ loop = $ this ->getMockBuilder ('React\EventLoop\LoopInterface ' )->getMock ();
1317
@@ -19,6 +23,10 @@ public function testCloseConnectionWillCloseSocketResource()
1923
2024 public function testCloseConnectionWillRemoveResourceFromLoopBeforeClosingResource ()
2125 {
26+ if (defined ('HHVM_VERSION ' )) {
27+ $ this ->markTestSkipped ('HHVM does not support socket operation on test memory stream ' );
28+ }
29+
2230 $ resource = fopen ('php://memory ' , 'r+ ' );
2331 $ loop = $ this ->getMockBuilder ('React\EventLoop\LoopInterface ' )->getMock ();
2432 $ loop ->expects ($ this ->once ())->method ('addWriteStream ' )->with ($ resource );
You can’t perform that action at this time.
0 commit comments