php.net |  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: remi@php.net Assigned: remi (profile)
Status: Closed Package: Testing related
PHP Version: 5.4.7 OS: GNU/Linux (Fedora 18)
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: remi@php.net
New email:
PHP Version: OS:

 

 [2012-09-24 07:04 UTC] remi@php.net
Description:
------------
Hi,

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.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-09-25 03:10 UTC] laruence@php.net
remi, should there also be a corresponding option for run-test.php?
 [2012-09-25 04:57 UTC] remi@php.net
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] pajoye@php.net
Assigned to Remi. :)
 [2012-09-27 06:58 UTC] pajoye@php.net
-Assigned To: +Assigned To: remi
 [2012-10-01 02:58 UTC] stas@php.net
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
http://snaps.php.net/.

 For Windows:

http://windows.php.net/snapshots/
 
Thank you for the report, and for helping us make PHP better.


 [2012-10-01 02:58 UTC] stas@php.net
-Status: Assigned +Status: Closed
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Fri Oct 30 02:01:24 2020 UTC