diff options
author | Dries Buytaert <dries@buytaert.net> | 2009-02-22 20:12:03 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2009-02-22 20:12:03 +0000 |
commit | 001cd711bf71d3ce1f022ec84a8e9e8864eaae51 (patch) | |
tree | 1135ea42667a4424934a3a5b5624cc673dced4e0 /modules/simpletest | |
parent | 5d658d08481c22b5ef577b39a29cd647438b211f (diff) | |
download | brdo-001cd711bf71d3ce1f022ec84a8e9e8864eaae51.tar.gz brdo-001cd711bf71d3ce1f022ec84a8e9e8864eaae51.tar.bz2 |
- Patch #334554 by hass: prevent endless loops in the simpletests.
Diffstat (limited to 'modules/simpletest')
-rw-r--r-- | modules/simpletest/drupal_web_test_case.php | 1 |
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:// |