Opened 7 years ago
Closed 7 years ago
#49049 closed defect (bug) (fixed)
Skip external HTTP test for recommended PHP and MySQL versions on 503 errors
| Reported by: | SergeyBiryukov | Owned by: | SergeyBiryukov |
|---|---|---|---|
| Priority: | normal | Milestone: | 5.4 |
| Component: | Build/Test Tools | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
Description
- [33937] / [33946] introduced
test_readme(), which performs HTTP requests tophp.netanddev.mysql.comto verify that the recommended PHP and MySQL versions inreadme.htmlare up-to-date. - [40519] made the test fail if
php.netordev.mysql.comare unreachable, in order to inform us of potential URL changes.
This test currently fails with a 503 Service Temporarily Unavailable error from php.net and the following response body, which appears to be some kind of DoS protection:
protection exception WP1X
While I agree that the test should not be skipped if the resources are permanently unavailable, failing for temporary issues outside of our control is not ideal.
I think the test should skip, not fail, for 503 errors.
On a related note, https://secure.php.net/ now performs a 301 redirect to https://www.php.net/, so the URL in the test could be updated.
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
In 46998: