Skip to content

Commit d99148a

Browse files
committed
chore: final smoke fixes
Signed-off-by: Nathan Klick <[email protected]>
1 parent 8beffaf commit d99148a

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/script/solo_smoke_test.sh

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,10 +89,17 @@ function start_sdk_test ()
8989
function check_monitor_log()
9090
{
9191
# get the logs of mirror-monitor
92-
kubectl get pods -n solo-e2e | grep mirror-monitor | awk '{print $1}' | xargs kubectl logs -n solo-e2e > mirror-monitor.log
92+
kubectl get pods -n solo-e2e | grep mirror-monitor | awk '{print $1}' | xargs -IPOD kubectl logs -n solo-e2e POD > mirror-monitor.log
9393

9494
if grep -q "ERROR" mirror-monitor.log; then
9595
echo "mirror-monitor.log contains ERROR"
96+
97+
echo "------- BEGIN LOG DUMP -------"
98+
echo
99+
cat mirror-monitor.log
100+
echo
101+
echo "------- END LOG DUMP -------"
102+
96103
exit 1
97104
fi
98105

@@ -118,7 +125,7 @@ function check_importer_log()
118125
cat mirror-importer.log
119126
echo
120127
echo "------- END LOG DUMP -------"
121-
128+
122129
exit 1
123130
fi
124131
}

0 commit comments

Comments
 (0)