The patch below attempts to give users an idea to try before they rush to report a bug. For example:

waiting 120 seconds for server to start: not ok
giving up after 121 secs. If you think that your system
is slow or overloaded try again with a longer timeout value.
For example:
  % APACHE_TEST_STARTUP_TIMEOUT=420 make test
or:
  % /home/stas/apache.org/mp2-cvs/Apache-Test/t/TEST -startup_timeout=420

server failed to start! (please examine t/logs/error_log)



Index: lib/Apache/TestServer.pm
===================================================================
RCS file: /home/cvs/httpd-test/perl-framework/Apache-Test/lib/Apache/TestServer.pm,v
retrieving revision 1.78
diff -u -r1.78 TestServer.pm
--- lib/Apache/TestServer.pm 4 Mar 2004 05:51:31 -0000 1.78
+++ lib/Apache/TestServer.pm 5 Mar 2004 00:11:34 -0000
@@ -560,7 +560,16 @@
last;
}
elsif ($delta > $timeout) {
- print $preamble, "giving up after $delta secs\n";
+ my $suggestion = $timeout + 300;
+ print $preamble, "not ok\n";
+ error <<EOI;
+giving up after $delta secs. If you think that your system
+is slow or overloaded try again with a longer timeout value.
+For example:
+ % APACHE_TEST_STARTUP_TIMEOUT=$suggestion make test
+or:
+ % $0 -startup_timeout=$suggestion
+EOI
last;
}
}


since most likely they run 'make test' I put that option first. How does that sound?

__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

Reply via email to