# HG changeset patch # User Sergey Kandaurov # Date 1541591383 -10800 # Node ID 23cf08e9d2a265a3cd7288f1a270ac5c13d5a3b6 # Parent dab8b525221662712e7f5830493970053cdaf0a8 Tests: fixed upstream max_conns test with ip_hash balancer. diff --git a/upstream_max_conns.t b/upstream_max_conns.t --- a/upstream_max_conns.t +++ b/upstream_max_conns.t @@ -101,6 +101,7 @@ http { upstream u_ih { ip_hash; server 127.0.0.1:8081 max_conns=1; + server 127.0.0.1:8082 max_conns=2; } server { @@ -197,7 +198,7 @@ is(peers('/u_lc_backup_lim', 6), "$p1 $p # ip_hash balancer tests -is(parallel('/u_ih', 4), "$p1: 1", 'ip_hash'); +is(parallel('/u_ih', 4), "$p1: 1, $p2: 2", 'ip_hash'); ###############################################################################