|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #63147 Some tests fail because require internet connection
Submitted: 2012-09-24 07:04 UTC Modified: 2012-10-01 02:58 UTC
From: Assigned: remi (profile)
Status: Closed Package: Testing related
PHP Version: 5.4.7 OS: GNU/Linux (Fedora 18)
Private report: No CVE-ID: None
 [2012-09-24 07:04 UTC]

Test which requires an internet connection (dns request, ...) fail if test are run offline.

This is the case in some build environment.

Proposal : add a SKIP_ONLINE_TESTS condition for such tests.

I will submit a pull request.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2012-09-25 03:10 UTC]
remi, should there also be a corresponding option for run-test.php?
 [2012-09-25 04:57 UTC]
There is a few tests concerned and probably a few people affected.
But --offline option added (in the pull request)

Note : if this "small" feature is accepted, I will also check the non-standard extension for such tests (currently, with run "make test", after build, only for static extension)
 [2012-09-27 06:58 UTC]
Assigned to Remi. :)
 [2012-09-27 06:58 UTC]
-Assigned To: +Assigned To: remi
 [2012-10-01 02:58 UTC]
The fix for this bug has been committed.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at

 For Windows:
Thank you for the report, and for helping us make PHP better.

 [2012-10-01 02:58 UTC]
-Status: Assigned +Status: Closed
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Thu Apr 15 08:01:23 2021 UTC