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
+++ b/uwsgi.t
@@ -62,6 +62,9 @@ END
 
 $t->run();
 
+$t->waitforsocket('127.0.0.1:8081')
+	or die "Can't start uwsgi";
+
 ###############################################################################
 
 like(http_get('/'), qr/SEE-THIS/, 'uwsgi request');