Skip to content

Commit 6acdef4

Browse files
committed
Fix external network test
1 parent 1131744 commit 6acdef4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/swoole_http2_client_coro/multi.phpt

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
--TEST--
2-
swoole_http2_client_coro: http2 error and dead wait
2+
swoole_http2_client_coro: multi
33
--SKIPIF--
44
<?php require __DIR__ . '/../include/skipif.inc';
55
skip_if_offline();
@@ -46,7 +46,7 @@ go(function () {
4646
}
4747
}
4848
Assert::assert(empty(array_diff([1, 3, 5, 7], $stream_map)));
49-
Assert::same(count(array_unique($responses_headers_count_map)), 1);
49+
Assert::lessThanEq(count(array_unique($responses_headers_count_map)), 2);
5050
Assert::assert($responses_headers_count_map[0] > 10);
5151
});
5252
swoole_event::wait();

0 commit comments

Comments
 (0)