perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Philip M. Gollucci" <pgollu...@p6m7g8.com>
Subject Re: ANNOUNCE: Apache::SizeLimit 0.90-rc1
Date Thu, 06 Jul 2006 08:18:49 GMT
Philip M. Gollucci wrote:
> Dave Rolsky wrote:
>> This is available here:
>> http://people.apache.org/~autarch/Apache-SizeLimit-0.9.tar.gz
{
        # Lame test - A way to check that setting this _does_
        # something would be welcome ;)
        Apache::SizeLimit->set_check_interval(10);
        is( $Apache::SizeLimit::CHECK_EVERY_N_REQUESTS, 10,
            'set_check_interval set global' );
}
I think you want to put this in a separate .pm file and have .t file just
make X requests to this and then grep the error_log file and make sure it only happens
one time; of course, you'll have to have it hit the limit for the error_log file to record
anything for you to grep for.






-- 
------------------------------------------------------------------------
Philip M. Gollucci (pgollucci@p6m7g8.com) 323.219.4708
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Software Engineer - TicketMaster - http://ticketmaster.com
1024D/A79997FA F357 0FDD 2301 6296 690F  6A47 D55A 7172 A799 97F

"In all that I've done wrong I know I must have done something right to
deserve a hug every morning and butterfly kisses at night."

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Mime
View raw message