summaryrefslogtreecommitdiff
path: root/modules/simpletest
diff options
context:
space:
mode:
authorDavid Rothstein <drothstein@gmail.com>2014-08-06 13:14:03 -0400
committerDavid Rothstein <drothstein@gmail.com>2014-08-06 13:14:03 -0400
commit90e884ad0f7f2cf269d953f7d70966de9fd821ff (patch)
tree92c73436cab67dfbd92b2a2640a0916e933083a7 /modules/simpletest
parentf9784cf829fe2d6aad57b6de1f2e3a167e95cea6 (diff)
downloadbrdo-90e884ad0f7f2cf269d953f7d70966de9fd821ff.tar.gz
brdo-90e884ad0f7f2cf269d953f7d70966de9fd821ff.tar.bz2
Drupal 7.31
Diffstat (limited to 'modules/simpletest')
-rw-r--r--modules/simpletest/tests/xmlrpc.test5
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/simpletest/tests/xmlrpc.test b/modules/simpletest/tests/xmlrpc.test
index 1a0fd86db..1a9ef2349 100644
--- a/modules/simpletest/tests/xmlrpc.test
+++ b/modules/simpletest/tests/xmlrpc.test
@@ -211,6 +211,11 @@ class XMLRPCMessagesTestCase extends DrupalWebTestCase {
* Make sure that XML-RPC can transfer large messages.
*/
function testSizedMessages() {
+ // These tests can produce up to 128 x 160 words in the XML-RPC message
+ // (see xmlrpc_test_message_sized_in_kb()) with 4 tags used to represent
+ // each. Set a large enough tag limit to allow this to be tested.
+ variable_set('xmlrpc_message_maximum_tag_count', 100000);
+
$xml_url = url(NULL, array('absolute' => TRUE)) . 'xmlrpc.php';
$sizes = array(8, 80, 160);
foreach ($sizes as $size) {