Skip to content

Commit

Permalink
Upgrade e2e test script
Browse files Browse the repository at this point in the history
  • Loading branch information
Syriiin committed Apr 24, 2024
1 parent d3955f7 commit b5f4c37
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions e2e/test
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
#!/bin/bash
set -euo pipefail
set -euxo pipefail

curl --fail "http://$DIFFICALCY_OSU_HOST/api/info" | jq
curl --fail "http://$DIFFICALCY_OSU_HOST/api/calculation?BeatmapId=diffcalc-test" | jq
curl --fail --silent --show-error "http://$DIFFICALCY_OSU_HOST/api/info" | jq
curl --fail --silent --show-error "http://$DIFFICALCY_OSU_HOST/api/calculation?BeatmapId=diffcalc-test" | jq

curl --fail "http://$DIFFICALCY_CATCH_HOST/api/info" | jq
curl --fail "http://$DIFFICALCY_CATCH_HOST/api/calculation?BeatmapId=diffcalc-test" | jq
curl --fail --silent --show-error "http://$DIFFICALCY_CATCH_HOST/api/info" | jq
curl --fail --silent --show-error "http://$DIFFICALCY_CATCH_HOST/api/calculation?BeatmapId=diffcalc-test" | jq

curl --fail "http://$DIFFICALCY_TAIKO_HOST/api/info" | jq
curl --fail "http://$DIFFICALCY_TAIKO_HOST/api/calculation?BeatmapId=diffcalc-test" | jq
curl --fail --silent --show-error "http://$DIFFICALCY_TAIKO_HOST/api/info" | jq
curl --fail --silent --show-error "http://$DIFFICALCY_TAIKO_HOST/api/calculation?BeatmapId=diffcalc-test" | jq

curl --fail "http://$DIFFICALCY_MANIA_HOST/api/info" | jq
curl --fail "http://$DIFFICALCY_MANIA_HOST/api/calculation?BeatmapId=diffcalc-test" | jq
curl --fail --silent --show-error "http://$DIFFICALCY_MANIA_HOST/api/info" | jq
curl --fail --silent --show-error "http://$DIFFICALCY_MANIA_HOST/api/calculation?BeatmapId=diffcalc-test" | jq

0 comments on commit b5f4c37

Please sign in to comment.