Author: pgollucci Date: Fri Mar 23 01:32:25 2007 New Revision: 521623 URL: http://svn.apache.org/viewvc?view=rev&rev=521623 Log: Either my diskio is really slow, or this computer is just really fast. ~3/5 times the error_log has not yet been written, but after the test finishes is correct.
With this addition, I got 50/50 passes. For those wondering: FreeBSD 6.2-RELEASE Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz 3GB RAM Modified: perl/Apache-SizeLimit/trunk/t/apache/zzz_check_n_requests.t perl/Apache-SizeLimit/trunk/t/apache2/zzz_check_n_requests.t Modified: perl/Apache-SizeLimit/trunk/t/apache/zzz_check_n_requests.t URL: http://svn.apache.org/viewvc/perl/Apache-SizeLimit/trunk/t/apache/zzz_check_n_requests.t?view=diff&rev=521623&r1=521622&r2=521623 ============================================================================== --- perl/Apache-SizeLimit/trunk/t/apache/zzz_check_n_requests.t (original) +++ perl/Apache-SizeLimit/trunk/t/apache/zzz_check_n_requests.t Fri Mar 23 01:32:25 2007 @@ -12,5 +12,6 @@ Apache::TestUtil::t_start_error_log_watch(); my $res = GET $url; +sleep(5); my $c = grep { /Apache::SizeLimit httpd process too big/ } Apache::TestUtil::t_finish_error_log_watch(); ok $c == 1; Modified: perl/Apache-SizeLimit/trunk/t/apache2/zzz_check_n_requests.t URL: http://svn.apache.org/viewvc/perl/Apache-SizeLimit/trunk/t/apache2/zzz_check_n_requests.t?view=diff&rev=521623&r1=521622&r2=521623 ============================================================================== --- perl/Apache-SizeLimit/trunk/t/apache2/zzz_check_n_requests.t (original) +++ perl/Apache-SizeLimit/trunk/t/apache2/zzz_check_n_requests.t Fri Mar 23 01:32:25 2007 @@ -12,5 +12,6 @@ Apache::TestUtil::t_start_error_log_watch(); my $res = GET $url; +sleep(5); my $c = grep { /Apache2::SizeLimit httpd process too big/ } Apache::TestUtil::t_finish_error_log_watch(); ok $c == 1;