Permalink
Browse files

Use non-alias version of the function for DNS resolution.

The aliased version causes timeouts ("hangs") in certain environments.
This was specifically seen on Travis CI workers. No explanation why this
behavior occurs can be given at this point.
  • Loading branch information...
1 parent 1608746 commit 1a382af90b2144bf3e7a4bb2d92549021d8ea677 @davidpersson davidpersson committed May 21, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/Unit.php
View
@@ -1046,7 +1046,7 @@ protected function _hasNetwork($config = array()) {
$failed = true;
});
- dns_check_record($config['host'], 'ANY');
+ checkdnsrr($config['host'], 'ANY');
fopen($url, 'r');
restore_error_handler();

0 comments on commit 1a382af

Please sign in to comment.