Skip to content

Commit

Permalink
test: also print the vttablet logs
Browse files Browse the repository at this point in the history
Signed-off-by: Manan Gupta <[email protected]>
  • Loading branch information
GuptaManan100 committed May 28, 2024
1 parent ad82169 commit c42e1e9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/vtop_example.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ function checkPodStatusWithTimeout() {
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
kubectl logs $vttabletPod -c vttablet
exit 1
}

Expand Down

0 comments on commit c42e1e9

Please sign in to comment.