]> git.ipfire.org Git - thirdparty/haproxy.git/commit
REGTESTS: add a few load balancing tests
authorWilly Tarreau <w@1wt.eu>
Wed, 23 Sep 2020 07:02:13 +0000 (09:02 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 23 Sep 2020 07:02:13 +0000 (09:02 +0200)
commit19490907b3836369215a9860f1bd6d2bc3297937
treea6f35b435ea515a3cc7f2e307ec5200fe1285da1
parent57a374131cd3c1c46f9d78ea9c0f2ad027d0be97
REGTESTS: add a few load balancing tests

This adds "balance-rr" to test round robin, "balance-uri" to test the
default balance-uri method, and "balance-uri-path-only" which mixes H1
and H2 through "balance uri path-only" and verifies that they reach
the same server.

Note that for the latter, "proto h2" explicitly had to be placed on
the listening socket otherwise it would timeout. This may indicate an
issue in the H1->H2 upgrade depending how the H2 preface is sent maybe.
reg-tests/balance/balance-rr.vtc [new file with mode: 0644]
reg-tests/balance/balance-uri-path-only.vtc [new file with mode: 0644]
reg-tests/balance/balance-uri.vtc [new file with mode: 0644]