# HG changeset patch # User Sergey Kandaurov # Date 1408528868 -14400 # Node ID be98c162f8bcfd970243adfb5db39205b0d9d03e # Parent 9e26d5b10fb32bf7e399123de55734cca9c94336 Tests: adjusted access_log test timeout. diff --git a/access_log.t b/access_log.t --- a/access_log.t +++ b/access_log.t @@ -115,7 +115,12 @@ http_get('/varlog?logname=0'); 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