summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwebchick <webchick@24967.no-reply.drupal.org>2011-08-30 01:00:33 -0700
committerwebchick <webchick@24967.no-reply.drupal.org>2011-08-30 01:00:33 -0700
commitd4c02d841c69cb8e83d9a69d9d2d105ed3a1f1d7 (patch)
treec039dd596da6b68f4e3351312c7550a163bca927
parent960ad9cf50fcb4eb5ea92be9345614c81e100e49 (diff)
downloadbrdo-d4c02d841c69cb8e83d9a69d9d2d105ed3a1f1d7.tar.gz
brdo-d4c02d841c69cb8e83d9a69d9d2d105ed3a1f1d7.tar.bz2
Issue #1125662 by catch, Gábor Hojtsy, bfroehle: Fixed UpdateTestContribCase fails on sites with contrib modules/themes in the filesystem.
-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 f0c214ed6..a88f617e6 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',