summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-02-22 20:12:03 +0000
committerDries Buytaert <dries@buytaert.net>2009-02-22 20:12:03 +0000
commit001cd711bf71d3ce1f022ec84a8e9e8864eaae51 (patch)
tree1135ea42667a4424934a3a5b5624cc673dced4e0 /modules
parent5d658d08481c22b5ef577b39a29cd647438b211f (diff)
downloadbrdo-001cd711bf71d3ce1f022ec84a8e9e8864eaae51.tar.gz
brdo-001cd711bf71d3ce1f022ec84a8e9e8864eaae51.tar.bz2
- Patch #334554 by hass: prevent endless loops in the simpletests.
Diffstat (limited to 'modules')
-rw-r--r--modules/simpletest/drupal_web_test_case.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/simpletest/drupal_web_test_case.php b/modules/simpletest/drupal_web_test_case.php
index 062fb6531..d4d14093f 100644
--- a/modules/simpletest/drupal_web_test_case.php
+++ b/modules/simpletest/drupal_web_test_case.php
@@ -954,6 +954,7 @@ class DrupalWebTestCase {
CURLOPT_COOKIEJAR => $this->cookieFile,
CURLOPT_URL => $base_url,
CURLOPT_FOLLOWLOCATION => TRUE,
+ CURLOPT_MAXREDIRS => 5,
CURLOPT_RETURNTRANSFER => TRUE,
CURLOPT_SSL_VERIFYPEER => FALSE, // Required to make the tests run on https://
CURLOPT_SSL_VERIFYHOST => FALSE, // Required to make the tests run on https://