Fix py311 job

The py311 job has currently trouble locating mysqld.
On debian the mysqld binary is installed to /usr/sbin,
but on debian /usr/sbin isn't in PATH by default.
This patch appends /usr/sbin to PATH.

Change-Id: I89b2631f38e6a7292d6e58b4ddee6f7fdfc6fa9f
This commit is contained in:
Jaromir Wysoglad 2023-10-04 08:25:34 -04:00
parent ccf41cefef
commit 76d367be56
1 changed files with 4 additions and 0 deletions

View File

@ -6,6 +6,10 @@ export GABBI_LIVE_FAIL_IF_NO_TEST=1
export AODH_SERVICE_TOKEN=foobar # Needed for gabbi
export AODH_SERVICE_ROLES=admin
# mysqld may be installed to /usr/sbin, which isn't in
# PATH on some distributions
export PATH=$PATH:/usr/sbin
# unit tests
export OS_TEST_PATH=aodh/tests/unit