zh-translation:sync virtual-machines/test.sh (#11196)

This commit is contained in:
my-git9 2022-09-07 04:58:32 +08:00 committed by GitHub
parent 327d6d52db
commit a7b3371bdc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -64,7 +64,7 @@ run_in_vm "
# We do not have systemd, need to start mysql manually
docker exec --privileged -d vm mysqld --skip-grant-tables
# Wait for mysql to be ready
# 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 snip_running_mysql_on_the_vm_3
@ -103,7 +103,7 @@ _verify_elided run_curl "${snip_reaching_kubernetes_services_from_the_virtual_ma
# @cleanup
docker stop vm
kubectl delete -f samples/multicluster/expose-istiod.yaml --ignore-not-found=true
kubectl delete -f samples/multicluster/expose-istiod.yaml -n istio-system --ignore-not-found=true
istioctl manifest generate | kubectl delete -f - --ignore-not-found=true
cleanup_sleep_sample
kubectl delete namespace istio-system vm bookinfo --ignore-not-found=true