Enable VM test (#11442)

* Enable VM test

* Attempt to fix test

Co-authored-by: John Howard <howardjohn@google.com>
This commit is contained in:
Eric Van Norman 2022-06-21 12:14:48 -05:00 committed by GitHub
parent c6954794de
commit a41610209e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -63,9 +63,9 @@ run_in_vm "
"
# We do not have systemd, need to start mysql manually
docker exec --privileged -d vm mysqld --skip-grant-tables
docker exec --privileged -d vm mysqld --user=root --skip-grant-tables
# Wait for mysql to become ready
run_in_vm "while ! sudo mysql 2> /dev/null; do echo retrying mysql...; sleep 5; done"
run_in_vm "while ! sudo mysql --user=root 2> /dev/null; do echo retrying mysql...; sleep 5; done"
run_in_vm snip_running_mysql_on_the_vm_3