commit | c7905837129c033c3bc45c477f14fc9e11b69213 | [log] [tgz] |
---|---|---|
author | Sergey Kandaurov <pluknet@nginx.com> | Thu Jan 10 17:42:34 2019 +0300 |
committer | Sergey Kandaurov <pluknet@nginx.com> | Thu Jan 10 17:42:34 2019 +0300 |
tree | eae93c1ed10962326cbd8ab20533598888f0d585 | |
parent | 9795af5e276a7de1debcc8e54c2ed651af1b4418 [diff] |
Tests: avoid edge cases in upstream random two test. Unavailable servers contribute to the number of attempts, if selected, before the balancer would fall back to the default round-robin method. This means that it's quite possible to get server with more connections. To facilitate with selecting two alive servers, down server was removed from the upstream configuration at the cost of slightly worse coverage.