Mercurial > hg > nginx-tests
comparison proxy_non_idempotent.t @ 1020:196d33c2bb45
Tests: removed TODO and try_run() checks for legacy versions.
Also removed now unused spdy.t and shmem prerequisite.
author | Andrey Zelenkov <zelenkov@nginx.com> |
---|---|
date | Wed, 31 Aug 2016 18:21:07 +0300 |
parents | 882267679006 |
children | d51cc2526066 |
comparison
equal
deleted
inserted
replaced
1019:41139d6f8b7b | 1020:196d33c2bb45 |
---|---|
20 ############################################################################### | 20 ############################################################################### |
21 | 21 |
22 select STDERR; $| = 1; | 22 select STDERR; $| = 1; |
23 select STDOUT; $| = 1; | 23 select STDOUT; $| = 1; |
24 | 24 |
25 my $t = Test::Nginx->new()->has(qw/http proxy rewrite upstream_keepalive/); | 25 my $t = Test::Nginx->new()->has(qw/http proxy rewrite upstream_keepalive/) |
26 ->plan(6); | |
26 | 27 |
27 $t->write_file_expand('nginx.conf', <<'EOF'); | 28 $t->write_file_expand('nginx.conf', <<'EOF'); |
28 | 29 |
29 %%TEST_GLOBALS%% | 30 %%TEST_GLOBALS%% |
30 | 31 |
85 } | 86 } |
86 } | 87 } |
87 | 88 |
88 EOF | 89 EOF |
89 | 90 |
90 $t->try_run('no proxy_next_upstream non_idempotent')->plan(6); | 91 $t->run(); |
91 | 92 |
92 ############################################################################### | 93 ############################################################################### |
93 | 94 |
94 # non-idempotent requests should not be retried by default | 95 # non-idempotent requests should not be retried by default |
95 # if a request has been sent to a backend | 96 # if a request has been sent to a backend |