Skip to content

Commit

Permalink
Merge pull request #11 from Lakion/more-verbose-waiting-for-port
Browse files Browse the repository at this point in the history
More verbose message while waiting for port
  • Loading branch information
Paweł Jędrzejewski committed Dec 3, 2015
2 parents e811211 + 3a2371e commit c93dacd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions travis/tools/wait-for-port
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ else
INTERVAL=1
fi

echo "Waiting for localhost:$1... [times = $COUNTER, interval = $INTERVAL]"

while [ $COUNTER -gt 0 ]
do
if [ `echo | telnet localhost $1 2>&1 | grep 'Connection refused' | wc -l` == 0 ]
Expand Down

0 comments on commit c93dacd

Please sign in to comment.