fix(ci): wait for disk to be mounted in VM (#7662)
This commit is contained in:
parent
04568d2527
commit
3248c4c38b
|
@ -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 \
|
||||
|
|
Loading…
Reference in New Issue