Mercurial > hg > nginx-tests
comparison stream_upstream_zone.t @ 1381:97c8280de681
Tests: removed TODO and try_run() checks for legacy versions.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Mon, 08 Oct 2018 15:30:39 +0300 |
parents | 6f17d67abeb8 |
children | 3008cc57b5c9 |
comparison
equal
deleted
inserted
replaced
1380:f50c7d90f5c9 | 1381:97c8280de681 |
---|---|
74 | 74 |
75 ############################################################################### | 75 ############################################################################### |
76 | 76 |
77 my $p = port(8081); | 77 my $p = port(8081); |
78 | 78 |
79 TODO: { | |
80 todo_skip 'leaves coredump', 2 unless $^O ne 'MSWin32' | |
81 or $ENV{TEST_NGINX_UNSAFE} or $t->has_version('1.13.4'); | |
82 | |
83 stream('127.0.0.1:' . port(8091)); | 79 stream('127.0.0.1:' . port(8091)); |
84 stream("127.0.0.1:" . port(8092)); | 80 stream("127.0.0.1:" . port(8092)); |
85 | 81 |
86 $t->stop(); | 82 $t->stop(); |
87 | 83 |
88 is($t->read_file('access1.log'), "127.0.0.1:$p\n", 'upstream name'); | 84 is($t->read_file('access1.log'), "127.0.0.1:$p\n", 'upstream name'); |
89 is($t->read_file('access2.log'), "u2\n", 'no live upstreams'); | 85 is($t->read_file('access2.log'), "u2\n", 'no live upstreams'); |
90 | 86 |
91 } | |
92 | |
93 ############################################################################### | 87 ############################################################################### |