Bug #61769 [PATCH]: Random failure of php_cli_server*phpt tests
| From: | ab@php.net | Date: | Thu, 19 Apr 2012 14:15:26 +0000 |
| Subject: | Bug #61769 [PATCH]: Random failure of php_cli_server*phpt tests | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-169732@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=61769&edit=1
ID: 61769
Patch added by: ab@php.net
Reported by: mattficken@php.net
Summary: Random failure of php_cli_server*phpt tests
Status: Open
Type: Bug
Package: Built-in web server
PHP Version: 5.4.0
Block user comment: N
Private report: N
New Comment:
The following patch has been added/updated:
Patch Name: php_cli_server_017.diff
Revision: 1334844926
URL: https://bugs.php.net/patch-display.php?bug=61769&patch=php_cli_server_017.diff&revision=1334844926
Previous Comments:
------------------------------------------------------------------------
[2012-04-18 21:21:00] mattficken@php.net
Description:
------------
All the php_cli_server* tests randomly fail.
Each test starts and stops the builtin web server. The web server when restarted quickly, can't
listen on the given port because its locked by the OS.
The SO_REUSEADDR option needs to be set on the web server's socket.
Test script:
---------------
007+ string(82)
"C:\php-sdk\php-test-pack-5.4-nts-windows-vc9-x86-re7a36ad\Sapi\cli\tests\index.php"
007- string(%d) "%s/tests/index.php"
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=61769&edit=1