Skip to content

Commit

Permalink
Update e2e.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
CatherineF-dev committed Jun 7, 2024
1 parent f622b3d commit 3408f9f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/e2e.sh
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,8 @@ function test_daemonset() {
sleep 3
curl -s "http://localhost:8001/api/v1/namespaces/kube-system/services/kube-state-metrics-no-node-pods:http-metrics/proxy/metrics"
sleep 3
kubectl get pods -A --field-selector spec.nodeName="\"\""
sleep 3
kubectl get pods -A --field-selector spec.nodeName=""
sleep 3
pendingpod2="$(curl -s "http://localhost:8001/api/v1/namespaces/kube-system/services/kube-state-metrics-no-node-pods:http-metrics/proxy/metrics" | grep "pendingpod2" | grep -c "kube_pod_info" )"
Expand Down

0 comments on commit 3408f9f

Please sign in to comment.