Skip to content

Commit

Permalink
Merge pull request #11276 from cBioPortal/fix/circleci-test-script
Browse files Browse the repository at this point in the history
simplify connection checks for circleci api tests
  • Loading branch information
zainasir authored Dec 12, 2024
2 parents 4f04525 + a0b4cd2 commit fa1e4f3
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -307,16 +307,8 @@ jobs:
- run:
name: Wait for cbioportal to be live at localhost
command: |
for i in {1..20}; do
if curl -s http://localhost:8080 > /dev/null; then
echo "cbioportal is live at localhost:8080!"
exit 0
fi
echo "Waiting for cbioportal at localhost:8080 ..."
sleep 5
done
echo "Failed to connect to cbioportal at localhost:8080!"
exit 1
cd cbioportal-test
./utils/check-connection.sh --url=localhost:8080
- run:
name: Confirm cbioportal config matches PR
command: |
Expand Down

0 comments on commit fa1e4f3

Please sign in to comment.