Skip to content

Commit 5de4837

Browse files
committed
Skip failing test due to outdated HHVM version on Travis
1 parent 6b84e6a commit 5de4837

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/FunctionalTest.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@ public function testPlainGoogleDoesNotAcceptConnectMethod()
3939

4040
public function testSecureGoogleDoesNotAcceptConnectMethod()
4141
{
42+
if (!function_exists('stream_socket_enable_crypto')) {
43+
$this->markTestSkipped('TLS not supported on really old platforms (HHVM < 3.8)');
44+
}
45+
4246
$secure = new SecureConnector($this->dnsConnector, $this->loop);
4347
$proxy = new ProxyConnector('google.com:443', $secure);
4448

0 commit comments

Comments
 (0)