]> git.kaiwu.me - haproxy.git/commit
REGTESTS: server: test "purge server" CLI command
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Mon, 21 Sep 2026 08:39:52 +0000 (10:39 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 14 Oct 2026 09:33:40 +0000 (11:33 +0200)
commit2d985fbf0b3b192c63c0925bec33d96cf141a994
tree35859f250767c7822e4bc9b8300e02f1c0cba4e2
parent592e53fbe0d81a2e3f4eaffe5b758e60eb178886
REGTESTS: server: test "purge server" CLI command

Add a reg-test for the new CLI command "purge server".

To test the background deletion, server reponses are synchronized via a
barrier. When the barrier is unlocked, srv-unknown is used to test that
the background deletion has completed. In the second test, background
deletion is instead interrupted via "disable server" before unlocking
the barrier.
reg-tests/server/cli_purge_server.vtc [new file with mode: 0644]