Mercurial > hg > nginx-tests
changeset 451:be98c162f8bc
Tests: adjusted access_log test timeout.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Wed, 20 Aug 2014 14:01:08 +0400 |
parents | 9e26d5b10fb3 |
children | 4465c1cf6f75 |
files | access_log.t |
diffstat | 1 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/access_log.t Tue Aug 19 16:50:31 2014 +0400 +++ b/access_log.t Wed Aug 20 14:01:08 2014 +0400 @@ -115,7 +115,12 @@ http_get('/varlog?logname=filename'); -select undef, undef, undef, 0.1; +# wait for file to appear with nonzero size thanks to the flush parameter + +for (1 .. 10) { + last if -s $t->testdir() . '/compressed.log'; + select undef, undef, undef, 0.1; +} # verify that "gzip" parameter turns on compression