Opened 6 years ago
Closed 6 years ago
#49049 closed defect (bug) (fixed)
Skip external HTTP test for recommended PHP and MySQL versions on 503 errors
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 5.4 | Priority: | normal |
| Severity: | normal | Version: | |
| Component: | Build/Test Tools | Keywords: | |
| Focuses: | Cc: |
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.
Change History (1)
Note: See
TracTickets for help on using
tickets.
In 46998: