Skip to content

Add health check to phpunit webserver#1766

Merged
mvorisek merged 2 commits intodevelopfrom
gix_http_test_random_issues
Apr 8, 2022
Merged

Add health check to phpunit webserver#1766
mvorisek merged 2 commits intodevelopfrom
gix_http_test_random_issues

Conversation

@mvorisek
Copy link
Copy Markdown
Member

@mvorisek mvorisek commented Apr 8, 2022

Should fix random CI failures:

1) Atk4\Ui\Tests\DemosHttpNoExitTest::testDemoLateOutputErrorHeadersAlreadySent
GuzzleHttp\Exception\ConnectException: cURL error 7: Failed to connect to localhost port 9687 after 0 ms: Connection refused (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)

/__w/ui/ui/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:186
/__w/ui/ui/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:150
/__w/ui/ui/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:103
/__w/ui/ui/vendor/guzzlehttp/guzzle/src/Handler/CurlHandler.php:43
/__w/ui/ui/vendor/guzzlehttp/guzzle/src/Handler/Proxy.php:28
/__w/ui/ui/vendor/guzzlehttp/guzzle/src/Handler/Proxy.php:51
/__w/ui/ui/vendor/guzzlehttp/guzzle/src/PrepareBodyMiddleware.php:37
/__w/ui/ui/vendor/guzzlehttp/guzzle/src/Middleware.php:30
/__w/ui/ui/vendor/guzzlehttp/guzzle/src/RedirectMiddleware.php:70
/__w/ui/ui/vendor/guzzlehttp/guzzle/src/Middleware.php:59
/__w/ui/ui/vendor/guzzlehttp/guzzle/src/HandlerStack.php:67
/__w/ui/ui/vendor/guzzlehttp/guzzle/src/Client.php:277
/__w/ui/ui/vendor/guzzlehttp/guzzle/src/Client.php:125
/__w/ui/ui/vendor/guzzlehttp/guzzle/src/Client.php:131
/__w/ui/ui/tests/DemosTest.php:217
/__w/ui/ui/tests/DemosTest.php:240
/__w/ui/ui/tests/DemosHttpTest.php:107
phpvfscomposer:///__w/ui/ui/vendor/phpunit/phpunit/phpunit:60

@mvorisek mvorisek force-pushed the gix_http_test_random_issues branch from c878c38 to b687084 Compare April 8, 2022 19:02
@mvorisek mvorisek marked this pull request as ready for review April 8, 2022 19:03
@mvorisek mvorisek force-pushed the gix_http_test_random_issues branch from b687084 to 7bc9204 Compare April 8, 2022 19:08
@mvorisek mvorisek merged commit e4d7912 into develop Apr 8, 2022
@mvorisek mvorisek deleted the gix_http_test_random_issues branch April 8, 2022 19:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant