Skip to content

Commit

Permalink
delete test removed
Browse files Browse the repository at this point in the history
  • Loading branch information
HeeManSu committed Jun 7, 2024
1 parent 938f0a9 commit 1a5c087
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions test/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -69,16 +69,16 @@ fi

echo "Inspect test passed."

# Test delete
echo "Testing delete functionality."
# # Test delete
# echo "Testing delete functionality."

# Delete the deployed project
curl -X POST -H "Content-Type: application/json" -d '{"suffix":"python-base-app","prefix":"'$prefix'","version":"v1"}' $BASE_URL/api/deploy/delete
# # Delete the deployed project
# curl -X POST -H "Content-Type: application/json" -d '{"suffix":"python-base-app","prefix":"'$prefix'","version":"v1"}' $BASE_URL/api/deploy/delete

# Verify deletion
if [[ $(curl -s -o /dev/null -w "%{http_code}" $BASE_URL/$prefix/$app/v1/call/number) != "404" ]]; then
echo "Deletion test failed."
exit 1
fi
# # Verify deletion
# if [[ $(curl -s -o /dev/null -w "%{http_code}" $BASE_URL/$prefix/$app/v1/call/number) != "404" ]]; then
# echo "Deletion test failed."
# exit 1
# fi

echo "Deletion test passed."
# echo "Deletion test passed."

0 comments on commit 1a5c087

Please sign in to comment.