summaryrefslogtreecommitdiff
path: root/sapi/fpm/tests
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2020-01-08 16:31:33 +0100
committerNikita Popov <nikita.ppv@gmail.com>2020-01-08 16:31:33 +0100
commit4b860c06ed05319cd9e6cc0f8bbe93231d2b214b (patch)
tree52d14331cb706d039100f6218462aee27ea6a4c0 /sapi/fpm/tests
parente2361498d519561e7eb5b73d138c1eaa80da2a20 (diff)
downloadphp-git-4b860c06ed05319cd9e6cc0f8bbe93231d2b214b.tar.gz
Revert "Display a message if select in FPM test timeouts"
This reverts commit e2361498d519561e7eb5b73d138c1eaa80da2a20. Ooops, this occurs normally during some tests, but I didn't notice because I have slow tests disabled...
Diffstat (limited to 'sapi/fpm/tests')
-rw-r--r--sapi/fpm/tests/tester.inc4
1 files changed, 1 insertions, 3 deletions
diff --git a/sapi/fpm/tests/tester.inc b/sapi/fpm/tests/tester.inc
index 7d43d5e8b2..b2a387638e 100644
--- a/sapi/fpm/tests/tester.inc
+++ b/sapi/fpm/tests/tester.inc
@@ -622,11 +622,9 @@ class Tester
$read = [$this->outDesc];
$write = null;
$except = null;
- $timeout = 3;
- if (stream_select($read, $write, $except, $timeout)) {
+ if (stream_select($read, $write, $except, 3)) {
return fgets($this->outDesc);
} else {
- $this->error("Select timeout ($timeout seconds)");
return null;
}
}