Created
October 5, 2016 23:23
-
-
Save jingxu97/57f5ccd83cb608a418664f9802294025 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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