Skip to content

Commit 491a894

Browse files
committed
Fix tests
(cherry picked from commit 6a8b87e)
1 parent 9b3d811 commit 491a894

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/swoole_coroutine_system/gethostbyname_ipv6.phpt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,9 @@ skip_if_offline();
99
require __DIR__ . '/../include/bootstrap.php';
1010

1111
Swoole\Coroutine::create(function () {
12-
$ip = Swoole\Coroutine\System::gethostbyname('ipv6.baidu.com', AF_INET6);
13-
Assert::assert(!empty($ip));
12+
$ip = Swoole\Coroutine\System::gethostbyname('ipv6.google.com', AF_INET6);
13+
phpt_var_dump($ip);
14+
Assert::notEmpty($ip);
1415
});
1516

1617
?>

0 commit comments

Comments
 (0)