You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by mm...@apache.org on 2013/03/28 18:50:20 UTC

svn commit: r1462236 - in /spamassassin/trunk/t: re_base_extraction.t spamd_hup.t

Author: mmartinec
Date: Thu Mar 28 17:50:20 2013
New Revision: 1462236

URL: http://svn.apache.org/r1462236
Log:
t/spamd_hup.t: slightly increase timeout to let the test pass on a Raspberry PI;  t/re_base_extraction.t: fix a typo

Modified:
    spamassassin/trunk/t/re_base_extraction.t
    spamassassin/trunk/t/spamd_hup.t

Modified: spamassassin/trunk/t/re_base_extraction.t
URL: http://svn.apache.org/viewvc/spamassassin/trunk/t/re_base_extraction.t?rev=1462236&r1=1462235&r2=1462236&view=diff
==============================================================================
--- spamassassin/trunk/t/re_base_extraction.t (original)
+++ spamassassin/trunk/t/re_base_extraction.t Thu Mar 28 17:50:20 2013
@@ -462,7 +462,7 @@ sub try_extraction {
   unlink(<log/test_rules_copy/*.cf>);
 
   { # suppress unnecessary warning:
-    #   "Filehandle STDIN reopened as OUT only for output"
+    #   "Filehandle STDIN reopened as STDOUT only for output"
     # See https://rt.perl.org/rt3/Public/Bug/Display.html?id=23838
     no warnings 'io';
     open (OUT, ">log/test_rules_copy/00_test.cf")

Modified: spamassassin/trunk/t/spamd_hup.t
URL: http://svn.apache.org/viewvc/spamassassin/trunk/t/spamd_hup.t?rev=1462236&r1=1462235&r2=1462236&view=diff
==============================================================================
--- spamassassin/trunk/t/spamd_hup.t (original)
+++ spamassassin/trunk/t/spamd_hup.t Thu Mar 28 17:50:20 2013
@@ -36,7 +36,9 @@ for $retry (0 .. 9) {
         });
 
   dbgprint "Waiting for spamd at pid $pid1 to restart...\n";
-  wait_for_file_to_appear ($pid_file, 20);
+    # 26 iterations is 98 seconds, RPi ARM6 takes about 66 seconds
+  wait_for_file_to_appear ($pid_file, 26);
+
   ok (-e $pid_file) or warn "$pid_file does not exist post restart";
   ok (!-z $pid_file) or warn "$pid_file is empty post restart";