Skip to content

Commit

Permalink
Merge pull request #76 from neelimamukiri/fix_tests
Browse files Browse the repository at this point in the history
Add trailing / to auth_proxy login calls
  • Loading branch information
neelimamukiri authored Mar 23, 2017
2 parents 9f0f7f1 + 7eb0713 commit 32a633d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/kubeadm_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ echo "*****************"
# Wait for CONTIV to start for up to 10 minutes
sleep 10
for i in {0..20}; do
response=$(curl -k -H -s "Content-Type: application/json" -X POST -d '{"username": "admin", "password": "admin"}' https://$contiv_master:10000/api/v1/auth_proxy/login || true)
response=$(curl -k -H -s "Content-Type: application/json" -X POST -d '{"username": "admin", "password": "admin"}' https://$contiv_master:10000/api/v1/auth_proxy/login/ || true)
if [[ $response == *"token"* ]]; then
echo "Install SUCCESS"
echo ""
Expand Down
2 changes: 1 addition & 1 deletion scripts/swarm_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ cd $install_version
# Wait for CONTIV to start for up to 10 minutes
sleep 10
for i in {0..20}; do
response=$(curl -k -H -s "Content-Type: application/json" -X POST -d '{"username": "admin", "password": "admin"}' https://$contiv_master:10000/api/v1/auth_proxy/login || true)
response=$(curl -k -H -s "Content-Type: application/json" -X POST -d '{"username": "admin", "password": "admin"}' https://$contiv_master:10000/api/v1/auth_proxy/login/ || true)
if [[ $response == *"token"* ]]; then
echo "Install SUCCESS"
echo ""
Expand Down

0 comments on commit 32a633d

Please sign in to comment.