use strict;
use warnings FATAL => 'all';

use Apache::Test;
use Apache::TestRequest;

my $module = 'TestApache2::zzz_check_n_requests';
my $url    = Apache::TestRequest::module2url($module);

plan tests => 1, need_min_module_version('Apache::Test' => 1.29);
require Apache::TestUtil;

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;
