Skip to content

Commit

Permalink
chore: fix operator tests
Browse files Browse the repository at this point in the history
  • Loading branch information
moshloop committed Dec 20, 2023
1 parent 3185c6b commit 2ece3fe
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions test/e2e-operator.sh
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,8 @@ done

CANARY_COUNT=$(kubectl get canaries.canaries.flanksource.com -A --no-headers | wc -l)
CANARY_COUNT=$(echo "$CANARY_COUNT" | xargs)
STATUS_COUNT_POSTGRES=$(curl -s http://0.0.0.0:8080/api\?count\=4 | jq ."checks[0].checkStatuses | length")
STATUS_COUNT_MEMORY=$(curl -s http://0.0.0.0:8080/api | jq ."checks[0].checkStatuses | length")

STATUS_COUNT_POSTGRES=$(curl -s http://0.0.0.0:8080/api/summary | jq ".checks_summary | length")
STATUS_COUNT_MEMORY=$(curl -s http://0.0.0.0:8080/api/summary | jq ".checks_summary | length")


echo "Canary count: ${CANARY_COUNT}"
Expand Down

0 comments on commit 2ece3fe

Please sign in to comment.