Mercurial > hg > nginx-tests
comparison proxy_websocket.t @ 274:ccebd3168b5b
Tests: fix startup race in proxy_websocket.t, proxy_upgrade.t.
Additionally, incorrect skip count fixed in proxy_upgrade.t.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Thu, 21 Mar 2013 21:23:53 +0400 |
parents | 71bb2a896c7a |
children | b6f0537afa01 |
comparison
equal
deleted
inserted
replaced
273:36c75df75ca4 | 274:ccebd3168b5b |
---|---|
65 EOF | 65 EOF |
66 | 66 |
67 $t->run_daemon(\&websocket_fake_daemon); | 67 $t->run_daemon(\&websocket_fake_daemon); |
68 $t->run(); | 68 $t->run(); |
69 | 69 |
70 $t->waitforsocket('127.0.0.1:8081') | |
71 or die "Can't start test backend"; | |
72 | |
70 ############################################################################### | 73 ############################################################################### |
71 | 74 |
72 TODO: { | 75 TODO: { |
73 local $TODO = 'not yet' unless $t->has_version('1.3.13'); | 76 local $TODO = 'not yet' unless $t->has_version('1.3.13'); |
74 | 77 |