Skip to content

Commit 713ce0b

Browse files
committed
Merge branch 'main' into feat/add-support-ubuntu-24-04
2 parents 333d238 + 753195b commit 713ce0b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/cookbooks/test/recipes/smoke.rb

+2-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,8 @@
9191
code <<-EOF
9292
MYSQL_PWD=#{Shellwords.escape(root_pass_master)} /usr/bin/mysql -u root -h 127.0.0.1 -P 3306 -D mysql -e "CREATE USER 'repl'@'127.0.0.1' IDENTIFIED BY 'REPLICAAATE';"
9393
MYSQL_PWD=#{Shellwords.escape(root_pass_master)} /usr/bin/mysql -u root -h 127.0.0.1 -P 3306 -D mysql -e "GRANT REPLICATION SLAVE ON *.* TO 'repl'@'127.0.0.1';"
94-
/usr/bin/mysql -u root -h 127.0.0.1 -P 3306 -p#{Shellwords.escape(root_pass_master)} -e 'show grants'
94+
/usr/bin/mysql -u root -h 127.0.0.1 -P 3306 -pilikerandompasswords -e 'show grants' # testing default password
95+
/usr/bin/mysql -u root -h 127.0.0.1 -P 3306 -e 'show grants' # testing no password
9596
EOF
9697
not_if "/usr/bin/mysql -u root -h 127.0.0.1 -P 3306 -p#{Shellwords.escape(root_pass_master)} -e 'select User,Host from mysql.user' | grep repl"
9798
action :run

0 commit comments

Comments
 (0)