Skip to content

Commit

Permalink
test: print the pod status of vttablet to see what the problem is
Browse files Browse the repository at this point in the history
Signed-off-by: Manan Gupta <[email protected]>
  • Loading branch information
GuptaManan100 committed May 27, 2024
1 parent 7dbeffc commit 5ae9c11
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/vtop_example.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ function checkPodStatusWithTimeout() {
sleep 1
done
echo -e "ERROR: checkPodStatusWithTimeout timeout to find pod matching:\ngot:\n$out\nfor regex: $regex"
vttabletPod=$(kubectl get pods | grep -E "vttablet" | head -n 1 | awk '{print $1}')
kubectl describe pod $vttabletPod
exit 1
}

Expand Down

0 comments on commit 5ae9c11

Please sign in to comment.