]> git.ipfire.org Git - thirdparty/haproxy.git/commit
REGTESTS: fix peers-related regtests regarding "show table"
authorWilly Tarreau <w@1wt.eu>
Tue, 29 Nov 2022 15:29:12 +0000 (16:29 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 29 Nov 2022 15:34:50 +0000 (16:34 +0100)
commit5a63e72840b4dfba52eff8f4e01041f7232f6a3d
treebc71872eb5e0b082db59cd74bde2602efee9b2bc
parente548a7af45d5d460cfd9779bd451736a9759c270
REGTESTS: fix peers-related regtests regarding "show table"

When I added commit 16b282f4b ("MINOR: stick-table: show the shard
number in each entry's "show table" output"), I don't know how but
I managed to mess up my reg tests since everything worked fine,
most likely by running it on a binary built in the wrong branch.
Several reg tests include some table outputs that were upset by the
new "shard=" field. This test added them and revealed at the same
time that entries learned over peers are not properly initialized,
which will be fixed in a future series of fixes.

This commit requires previous fix "BUG/MINOR: peers: always
initialize the stksess shard value" so as not to trip on entries
learned from peers.
reg-tests/http-rules/converters_ipmask_concat_strcmp_field_word.vtc
reg-tests/peers/basic_sync.vtc
reg-tests/peers/basic_sync_wo_stkt_backend.vtc
reg-tests/peers/tls_basic_sync.vtc
reg-tests/peers/tls_basic_sync_wo_stkt_backend.vtc
reg-tests/stick-table/converteers_ref_cnt_never_dec.vtc