From d4c02d841c69cb8e83d9a69d9d2d105ed3a1f1d7 Mon Sep 17 00:00:00 2001 From: webchick Date: Tue, 30 Aug 2011 01:00:33 -0700 Subject: =?UTF-8?q?Issue=20#1125662=20by=20catch,=20G=C3=A1bor=20Hojtsy,?= =?UTF-8?q?=20bfroehle:=20Fixed=20UpdateTestContribCase=20fails=20on=20sit?= =?UTF-8?q?es=20with=20contrib=20modules/themes=20in=20the=20filesystem.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/update/update.test | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'modules') 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', -- cgit v1.2.3