summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--modules/update/update.test5
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/update/update.test b/modules/update/update.test
index f0c214e..a88f617 100644
--- a/modules/update/update.test
+++ b/modules/update/update.test
@@ -441,6 +441,11 @@ class UpdateTestContribCase extends UpdateTestHelper {
'hidden' => FALSE,
),
);
+ // When there are contributed modules in the site's file system, the
+ // total number of attempts made in the test may exceed the default value
+ // of update_max_fetch_attempts. Therefore this variable is set very high
+ // to avoid test failures in those cases.
+ variable_set('update_max_fetch_attempts', 99999);
variable_set('update_test_system_info', $system_info);
$xml_mapping = array(
'drupal' => '0',