Browse Source

tests: use a more inclusive word for the default password

This change removes problematic language in the test environment.

Change-Id: I6f81ab68314902f0239babf887de04f8e30d8954
changes/91/740291/1
Tristan Cacqueray 1 year ago
parent
commit
1f7d3a879b
  1. 2
      tools/docker-compose.yaml
  2. 2
      tools/test-setup-docker.sh
  3. 2
      tools/test-setup.sh

2
tools/docker-compose.yaml

@ -5,7 +5,7 @@ services:
container_name: zuul-test-mysql
image: mysql:5.7
environment:
- MYSQL_ROOT_PASSWORD=insecure_slave
- MYSQL_ROOT_PASSWORD=insecure_worker
ports:
- "3306:3306"
tmpfs:

2
tools/test-setup-docker.sh

@ -25,7 +25,7 @@ else
fi
MYSQL="${DOCKER} exec zuul-test-mysql mysql -u root -pinsecure_slave"
MYSQL="${DOCKER} exec zuul-test-mysql mysql -u root -pinsecure_worker"
if [ "${COMPOSE}" == "docker-compose" ]; then
docker-compose rm -sf

2
tools/test-setup.sh

@ -25,7 +25,7 @@ sudo service zookeeper start
# The root password for the MySQL database; pass it in via
# MYSQL_ROOT_PW.
DB_ROOT_PW=${MYSQL_ROOT_PW:-insecure_slave}
DB_ROOT_PW=${MYSQL_ROOT_PW:-insecure_worker}
# This user and its password are used by the tests, if you change it,
# your tests might fail.

Loading…
Cancel
Save