You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by jm...@apache.org on 2006/12/12 14:29:39 UTC

svn commit: r486134 - /spamassassin/trunk/t/spamd_prefork_stress_2.t

Author: jm
Date: Tue Dec 12 05:29:38 2006
New Revision: 486134

URL: http://svn.apache.org/viewvc?view=rev&rev=486134
Log:
allow a sleep in the prefork stress test for a new spamd child to start, before attempting to scan; this should fix the intermittent stress-test failures I see here

Modified:
    spamassassin/trunk/t/spamd_prefork_stress_2.t

Modified: spamassassin/trunk/t/spamd_prefork_stress_2.t
URL: http://svn.apache.org/viewvc/spamassassin/trunk/t/spamd_prefork_stress_2.t?view=diff&rev=486134&r1=486133&r2=486134
==============================================================================
--- spamassassin/trunk/t/spamd_prefork_stress_2.t (original)
+++ spamassassin/trunk/t/spamd_prefork_stress_2.t Tue Dec 12 05:29:38 2006
@@ -56,6 +56,7 @@
   system ($pkill, "-f", "spamd child");
 }
 
+sleep 1;        # give it time to start a new one
 clear_pattern_counters();
 ok (spamcrun ("< data/spam/001", \&patterns_run_cb));
 ok_all_patterns();