Mercurial > hg > nginx-tests
comparison mirror_proxy.t @ 1367:c6721d7bf1a0
Tests: skip mirror test with limit_req on win32, it hangs.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Thu, 16 Aug 2018 14:16:10 +0300 |
parents | e16eecc84b49 |
children | c0dbb94fa36c |
comparison
equal
deleted
inserted
replaced
1366:e16eecc84b49 | 1367:c6721d7bf1a0 |
---|---|
88 like(http_post('/'), qr/X-Body: 1234567890\x0d?$/m, 'mirror proxy'); | 88 like(http_post('/'), qr/X-Body: 1234567890\x0d?$/m, 'mirror proxy'); |
89 like(http_post('/off'), qr/X-Body: 1234567890\x0d?$/m, 'mirror_request_body'); | 89 like(http_post('/off'), qr/X-Body: 1234567890\x0d?$/m, 'mirror_request_body'); |
90 | 90 |
91 # delayed subrequest should not affect main request processing nor stuck itself | 91 # delayed subrequest should not affect main request processing nor stuck itself |
92 | 92 |
93 SKIP: { | |
94 skip 'hang on win32', 1 if $^O eq 'MSWin32' and !$ENV{TEST_NGINX_UNSAFE}; | |
95 | |
93 TODO: { | 96 TODO: { |
94 local $TODO = 'not yet'; | 97 local $TODO = 'not yet'; |
95 | 98 |
96 like(http_post('/delay?1'), qr/X-Body: 1234567890\x0d?$/m, 'mirror delay'); | 99 like(http_post('/delay?1'), qr/X-Body: 1234567890\x0d?$/m, 'mirror delay'); |
100 | |
101 } | |
97 | 102 |
98 } | 103 } |
99 | 104 |
100 $t->todo_alerts(); | 105 $t->todo_alerts(); |
101 $t->stop(); | 106 $t->stop(); |