Merge "bench: Maintain server_url in config file"

This commit is contained in:
Zuul authored and Gerrit Code Review committed 2026-09-25 18:44:41 +00:00
commit 3d08e3410e
3 files changed
+3 -1

No files matched your search

-1
View File
@@ -115,7 +115,6 @@
c-sch: false
c-vol: false
tempest: false
tox_extra_args: -- -s http://localhost/messaging
tox_envlist: bench
run: playbooks/bench/run.yaml
+2
View File
@@ -137,6 +137,8 @@ function configure_zaqar {
fi
write_uwsgi_config "$ZAQAR_UWSGI_CONF" "$ZAQAR_UWSGI" "/messaging" "" "zaqar"
iniset $ZAQAR_BENCH_CONF DEFAULT server_url $ZAQAR_SERVICE_PROTOCOL://$ZAQAR_SERVICE_HOST/messaging
}
function configure_redis {
+1
View File
@@ -7,6 +7,7 @@ ZAQAR_CONF=$ZAQAR_CONF_DIR/zaqar.conf
ZAQAR_UWSGI_CONF=$ZAQAR_CONF_DIR/uwsgi.conf
ZAQAR_UWSGI=zaqar.transport.wsgi.app:application
ZAQAR_API_LOG_DIR=/var/log/zaqar
ZAQAR_BENCH_CONF=$ZAQAR_CONF_DIR/zaqar-benchmark.conf
# Support potential entry-points console scripts
ZAQAR_BIN_DIR=$(get_python_exec_prefix)