Skip to content
Browse files

Change `Unit::_hasNetwork()` to check for A record.

Checking for ANY causes timeouts in certain environments. Especially
Travis CI worker appear to hang on the function call when using ANY.
  • Loading branch information...
1 parent 0ab31fd commit 3d9fc631846653e8c3d16420f77452f97408dbed @davidpersson davidpersson committed May 21, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/Unit.php
View
2 test/Unit.php
@@ -1046,7 +1046,7 @@ protected function _hasNetwork($config = array()) {
$failed = true;
});
- dns_check_record($config['host'], 'ANY');
+ dns_check_record($config['host'], 'A');
if ($handle = fopen($url, 'r')) {
fclose($handle);

0 comments on commit 3d9fc63

Please sign in to comment.
Something went wrong with that request. Please try again.