? 296442-blogapi-upload-cleanurls_1.patch
? active-trail-li-249571-19.patch
? go-online-320146-7x-2.patch
? make-plain-title-242873-73.patch
? make-plain-title-notest-242873-83.patch
? simpletest-max-packet-fail-320374-9.patch
? simpletest-max-packet-fail_1.patch
? system-cron-296321-7.patch
? title-test-only-242873-83.patch
? sites/default/files
? sites/default/settings.php
Index: includes/form.inc
===================================================================
RCS file: /cvs/drupal/drupal/includes/form.inc,v
retrieving revision 1.295
diff -u -p -r1.295 form.inc
--- includes/form.inc	12 Oct 2008 06:27:03 -0000	1.295
+++ includes/form.inc	13 Oct 2008 16:59:02 -0000
@@ -2539,8 +2539,8 @@ function batch_set($batch_definition) {
  * Unless the batch has been marked with 'progressive' = FALSE, the function
  * issues a drupal_goto and thus ends page execution.
  *
- * This function is not needed in form submit handlers; Form API takes care
- * of batches that were set during form submission.
+ * This function is generally not needed in form submit handlers;
+ * Form API takes care of batches that were set during form submission.
  *
  * @param $redirect
  *   (optional) Path to redirect to when the batch has finished processing.
Index: modules/simpletest/simpletest.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/simpletest/simpletest.module,v
retrieving revision 1.19
diff -u -p -r1.19 simpletest.module
--- modules/simpletest/simpletest.module	9 Oct 2008 15:15:52 -0000	1.19
+++ modules/simpletest/simpletest.module	13 Oct 2008 16:59:02 -0000
@@ -337,6 +337,11 @@ function simpletest_run_tests($test_list
     'init_message' => t('SimpleTest is initializing...') . ' ' . format_plural(count($test_list), "one test case will run.", "@count test cases will run."),
   );
   batch_set($batch);
+  // By calling batch_process() we initiate the batch directly. By default,
+  // the forms portion of the batch API handles this, but it inserts the 
+  // serialized $form into the DB, which may fail by exceeding the size
+  // of data that can be sent to the database (max_allowed_packet on MySQL).
+  batch_process();
 }
 
 /**
