]> git.kaiwu.me - haproxy.git/commit
REGTESTS: cli: test the commands which change the run-time settings
authorWilly Tarreau <w@1wt.eu>
Mon, 21 Sep 2026 20:54:38 +0000 (20:54 +0000)
committerWilly Tarreau <w@1wt.eu>
Wed, 30 Sep 2026 15:19:30 +0000 (17:19 +0200)
commit5a4970a6c7ca7addaa38ecd02647ee134312e5b2
tree3772fb60712ba8f3ebcf8b286bbf8c4ecbbf682e
parent09d1c04d7dbfa419a126527a20a3812948610d6a
REGTESTS: cli: test the commands which change the run-time settings

None of the CLI commands changing a run-time setting was covered: set
maxconn for the process, a frontend and a server, set rate-limit for
the connections and the sessions, set weight in absolute value and as a
percentage, get weight, set server state, disable/enable/shutdown
frontend, set profiling, set anon, set severity-output, set timeout,
set table, clear table and echo.

Each change is read back with the command which reports it, so that
both the setter and the reporter are exercised: "show info" for the
global limits, the "slim" and status columns of "show stat" for the
proxy and server limits and states, "get weight", "show profiling",
"show anon" and "show table".
reg-tests/cli/runtime_settings.vtc [new file with mode: 0644]