REGTESTS: add a test to ensure map-ordering is preserved
authorAurelien DARRAGON <adarragon@haproxy.com>
Mon, 8 Jan 2024 09:25:18 +0000 (10:25 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 11 Jan 2024 09:25:05 +0000 (10:25 +0100)
commit3fda9762561e901367109645d695d0e09fb03fec
tree51002dc16fbe6de4bd6bb16da0587cab230c9311
parentf9ff6ca3b5cb58c2e7c1e6065018189364812f7e
REGTESTS: add a test to ensure map-ordering is preserved

As shown in "BUG/MINOR: map: list-based matching potential ordering
regression", list-based matching types such as dom are affected by the
order in which elements are loaded from the map.

Since this is historical behavior and existing usages depend on it, we
add a test to prevent future regressions.

(cherry picked from commit 1088f0b969e18ee5a8fe829d2071507ddef0d05e)
Signed-off-by: Willy Tarreau <w@1wt.eu>
reg-tests/http-rules/map_ordering.map [new file with mode: 0644]
reg-tests/http-rules/map_ordering.vtc [new file with mode: 0644]