fix(ci): wait for disk to be mounted in VM (#7662)

This commit is contained in:
Gustavo Valverde 2023-10-04 09:25:02 +01:00 committed by GitHub
parent 04568d2527
commit 3248c4c38b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -432,6 +432,8 @@ jobs:
--ssh-flag="-o ConnectTimeout=5" \
--command \
"\
# Wait for the disk to be attached
while [[ ! -e /dev/sdb ]]; do sleep 1; done && \
sudo docker run \
--name ${{ inputs.test_id }} \
--tty \
@ -480,6 +482,8 @@ jobs:
--ssh-flag="-o ConnectTimeout=5" \
--command \
"\
# Wait for the disk to be attached
while [[ ! -e /dev/sdb ]]; do sleep 1; done && \
sudo docker run \
--name ${{ inputs.test_id }} \
--tty \