diff uwsgi.t @ 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 e9133938a5d3
children a01a53bcbf11
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');