Skip to content

Commit

Permalink
debug java CI (dubbogo#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
justxuewei authored Jul 26, 2021
1 parent 35398dd commit dc8ebf5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion example/waiting_launch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,15 @@ fi
PREV_MD5=""
MD5=""

while true
# wait 150s maximum
for ((i=1; i<=15; i++))
do
sleep 10s
MD5=$(md5sum $1 | cut -d ' ' -f1)
if [ "$PREV_MD5" = "$MD5" ]; then
exit
fi
echo "waiting... log file md5: $MD5"
cat $1
PREV_MD5=$MD5
done

0 comments on commit dc8ebf5

Please sign in to comment.