Mercurial > hg > nginx-tests
diff fastcgi_keepalive.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 | 94f8ee2f6688 |
children | e7dc8f4d0a4b |
line wrap: on
line diff
--- a/fastcgi_keepalive.t +++ b/fastcgi_keepalive.t @@ -53,10 +53,7 @@ http { EOF $t->run_daemon(\&fastcgi_test_daemon); -$t->run(); - -$t->waitforsocket('127.0.0.1:8081') - or die "Can't start test backend"; +$t->run()->waitforsocket('127.0.0.1:8081'); ###############################################################################