[php-src] PR #23228: ext/curl: speed up tests
| From: | Sjord | Date: | Wed, 12 Aug 2026 12:22:20 +0000 |
| Subject: | [php-src] PR #23228: ext/curl: speed up tests | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-37795@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/23228
Author: Sjord
By waiting shorter for the server to be ready. In my setup, this takes it from 26 to 15 seconds for
all curl tests.
The first check for output on stderr takes approximately 10ms, so we wait 20ms to make sure its
ready. The second check for the open port typically succeeds immediately, so move the sleep to after
we have tried.