Mercurial > hg > nginx-tests
changeset 174:c8169c827d18
Tests: use waitoforsocket() as uwsgi startup may take a while.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Thu, 29 Sep 2011 01:29:36 +0400 |
parents | 20d3461de9da |
children | b5352cabdadb |
files | uwsgi.t |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/uwsgi.t Sat Sep 24 18:44:16 2011 +0400 +++ b/uwsgi.t Thu Sep 29 01:29:36 2011 +0400 @@ -62,6 +62,9 @@ $t->run(); +$t->waitforsocket('127.0.0.1:8081') + or die "Can't start uwsgi"; + ############################################################################### like(http_get('/'), qr/SEE-THIS/, 'uwsgi request');