Mercurial > hg > nginx-tests
comparison image_filter_finalize.t @ 533:a5465130d3df
Tests: relaxed timeouts in filter_finalize tests.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Wed, 11 Mar 2015 12:07:58 +0300 |
parents | 625cbbfd66b3 |
children | 1ab33feebbfd |
comparison
equal
deleted
inserted
replaced
532:1b2f71399b49 | 533:a5465130d3df |
---|---|
143 TODO: { | 143 TODO: { |
144 local $TODO = 'not yet' unless $t->has_version('1.7.11'); | 144 local $TODO = 'not yet' unless $t->has_version('1.7.11'); |
145 | 145 |
146 http_get('/slow'); | 146 http_get('/slow'); |
147 http_get('/t3'); | 147 http_get('/t3'); |
148 like(http_get('/time.log'), qr!/t3:.*, 1\.!, 'upstream response time'); | 148 like(http_get('/time.log'), qr!/t3:.*, [1-9]\.!, 'upstream response time'); |
149 | 149 |
150 } | 150 } |
151 | 151 |
152 like(`grep -F '[alert]' ${\($t->testdir())}/error.log`, qr/^$/s, 'no alerts'); | 152 like(`grep -F '[alert]' ${\($t->testdir())}/error.log`, qr/^$/s, 'no alerts'); |
153 | 153 |