Mercurial > hg > nginx-tests
comparison fastcgi_cache.t @ 295:6fe0459b6668
Tests: eliminate startup races in proxy and fastcgi tests.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Sat, 08 Jun 2013 07:02:11 +0400 |
parents | 6a0d934950bc |
children | ec9f4f2e67e8 |
comparison
equal
deleted
inserted
replaced
294:71e275487aeb | 295:6fe0459b6668 |
---|---|
56 } | 56 } |
57 | 57 |
58 EOF | 58 EOF |
59 | 59 |
60 $t->run_daemon(\&fastcgi_daemon); | 60 $t->run_daemon(\&fastcgi_daemon); |
61 $t->run(); | 61 $t->run()->waitforsocket('127.0.0.1:8081'); |
62 | 62 |
63 ############################################################################### | 63 ############################################################################### |
64 | 64 |
65 like(http_get('/'), qr/SEE-THIS/, 'fastcgi request'); | 65 like(http_get('/'), qr/SEE-THIS/, 'fastcgi request'); |
66 like(http_get('/'), qr/SEE-THIS/, 'fastcgi request cached'); | 66 like(http_get('/'), qr/SEE-THIS/, 'fastcgi request cached'); |