Commit ded28c5a authored by webchick's avatar webchick
Browse files

Issue #1125662 by catch, Gábor Hojtsy, bfroehle: Fixed UpdateTestContribCase...

Issue #1125662 by catch, Gábor Hojtsy, bfroehle: Fixed UpdateTestContribCase fails on sites with contrib modules/themes in the filesystem.
parent 79a0b5e9
......@@ -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',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment