Skip to content

Commit

Permalink
Update setup.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
mrhardikjoshi committed Jan 12, 2024
1 parent d568973 commit d8a41b6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion e2e_tests/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,9 @@ else
exit 1
fi
bundle exec rails s -d
while [ $((curl localhost:3000/ > /dev/null 2>&1); echo $?) -ne 0 ]; do sleep 1; done
# while [ $((curl localhost:3000/ > /dev/null 2>&1); echo $?) -ne 0 ]; do sleep 1; done
until $(curl --output /dev/null --silent --head --fail localhost:3000); do
printf '.'
sleep 5
done
kill `cat tmp/pids/server.pid`

0 comments on commit d8a41b6

Please sign in to comment.