From 7741e113eaa782b365b7d6e2b87036e29cd59a41 Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Mon, 3 Aug 2015 12:33:51 +0200 Subject: [PATCH] use a longer timeout --- tests/helper/server.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/helper/server.inc b/tests/helper/server.inc index 5d25562..029cd46 100644 --- a/tests/helper/server.inc +++ b/tests/helper/server.inc @@ -36,7 +36,7 @@ function serve($cb) { logger("serve: Using port %d", $port); do { $R = array($server); $W = array(); $E = array(); - $select = stream_select($R, $E, $E, 0, 10000); + $select = stream_select($R, $E, $E, 10, 0); if ($select && ($client = stream_socket_accept($server, 1))) { logger("serve: Accept client %d", (int) $client); if (getenv("PHP_HTTP_TEST_SSL")) { -- 2.30.2