kokoro: hostcheck: Wait 30 seconds at the beginning

The storage device needs a little bit of time to be attached. Wait at the
beginning to make sure the storage device is really not mounted.

Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
This commit is contained in:
Daniel Schultz 2021-03-20 11:05:25 +01:00
parent 086f9a1714
commit a6fb88b676
1 changed files with 2 additions and 0 deletions

View File

@ -13,6 +13,8 @@ echo
echo "========================================"
echo "Check storage"
echo "----------------------------------------"
# Wait 30 seconds to not check the storage too early.
sleep 30
set -x +e
mount | grep /tmpfs
MOUNT_RET=$?