File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -89,10 +89,17 @@ function start_sdk_test ()
89
89
function check_monitor_log()
90
90
{
91
91
# 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
93
93
94
94
if grep -q " ERROR" mirror-monitor.log; then
95
95
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
+
96
103
exit 1
97
104
fi
98
105
@@ -118,7 +125,7 @@ function check_importer_log()
118
125
cat mirror-importer.log
119
126
echo
120
127
echo " ------- END LOG DUMP -------"
121
-
128
+
122
129
exit 1
123
130
fi
124
131
}
You can’t perform that action at this time.
0 commit comments