From a6fb88b6764100748cde8dcfc0937ae0297ecb90 Mon Sep 17 00:00:00 2001 From: Daniel Schultz Date: Sat, 20 Mar 2021 11:05:25 +0100 Subject: [PATCH] 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 --- .github/kokoro/steps/hostcheck.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/kokoro/steps/hostcheck.sh b/.github/kokoro/steps/hostcheck.sh index e2a83ff8..3ac44593 100755 --- a/.github/kokoro/steps/hostcheck.sh +++ b/.github/kokoro/steps/hostcheck.sh @@ -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=$?