Skip to content

Commit c42e1e9

Browse files
committed
test: also print the vttablet logs
Signed-off-by: Manan Gupta <manan@planetscale.com>
1 parent ad82169 commit c42e1e9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/vtop_example.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ function checkPodStatusWithTimeout() {
7070
echo -e "ERROR: checkPodStatusWithTimeout timeout to find pod matching:\ngot:\n$out\nfor regex: $regex"
7171
vttabletPod=$(kubectl get pods | grep -E "vttablet" | head -n 1 | awk '{print $1}')
7272
kubectl describe pod $vttabletPod
73+
kubectl logs $vttabletPod -c vttablet
7374
exit 1
7475
}
7576

0 commit comments

Comments
 (0)