Skip to content

Instantly share code, notes, and snippets.

@jingxu97
Created October 5, 2016 23:23
Show Gist options
  • Save jingxu97/57f5ccd83cb608a418664f9802294025 to your computer and use it in GitHub Desktop.
Save jingxu97/57f5ccd83cb608a418664f9802294025 to your computer and use it in GitHub Desktop.
date
count=0
for (( ; ; ))
do
((count++))
echo "$count"
OUTPUT="$(kubectl exec jingpod -c=hyper-pod -- cat '/data/test1')"
if [ -z "$OUTPUT" ]
then
echo "Test failed: "
break
fi
echo $OUTPUT
done
date
echo "$count"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment