test: nginx: Increses the timeout while reading the audit log.

Audit logs are taking too long to be written on the disk. One of the
consequence of that is to have tests that demands to read from audit
log failing. Increase the timeout makes it wait a little bit more for
the logs before gave up.
This commit is contained in:
Felipe Zimmerle 2014-01-10 07:54:19 -08:00
parent 3cf1701794
commit 8e390899e0

View File

@ -457,6 +457,14 @@ sub match_log {
$timeout = 0 unless (defined $timeout);
# Audit logs are taking too long to be written on the disk. One of the
# consequence of that is to have tests that demands to read from audit
# log failing. Increase the timeout here, make it wait a little bit
# more for the logs before gave up.
if ($name eq "audit") {
$timeout = 20;
}
my $i = 0;
my $graphed = 0;
READ: {