comparison access_log.t @ 451:be98c162f8bc

Tests: adjusted access_log test timeout.
author Sergey Kandaurov <pluknet@nginx.com>
date Wed, 20 Aug 2014 14:01:08 +0400
parents 8d436291c09b
children ae69f9bdba92
comparison
equal deleted inserted replaced
450:9e26d5b10fb3 451:be98c162f8bc
113 http_get('/varlog?logname='); 113 http_get('/varlog?logname=');
114 http_get('/varlog?logname=0'); 114 http_get('/varlog?logname=0');
115 http_get('/varlog?logname=filename'); 115 http_get('/varlog?logname=filename');
116 116
117 117
118 select undef, undef, undef, 0.1; 118 # wait for file to appear with nonzero size thanks to the flush parameter
119
120 for (1 .. 10) {
121 last if -s $t->testdir() . '/compressed.log';
122 select undef, undef, undef, 0.1;
123 }
119 124
120 # verify that "gzip" parameter turns on compression 125 # verify that "gzip" parameter turns on compression
121 126
122 my $log; 127 my $log;
123 128