Skip to content

Commit a59adbc

Browse files
committed
Fix olm pod name so log to be written correctly to olm.log
The olm pod name is incorrect as "alm-operator". It should be "olm-operator". This issue causes the olm log never being written into olm.log after the e2e test is run. Signed-off-by: Vu Dinh <[email protected]>
1 parent d7ee481 commit a59adbc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/run_e2e_local.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ function cleanupAndExit {
2626
exitCode=$?
2727
if [ "$exitCode" -ne "0" ]; then
2828
echo "error running tests. logs written to olm.log, catalog.log, and package.log";
29-
kubectl -n ${namespace} logs -l app=alm-operator > olm.log;
29+
kubectl -n ${namespace} logs -l app=olm-operator > olm.log;
3030
kubectl -n ${namespace} logs -l app=catalog-operator > catalog.log;
3131
kubectl -n ${namespace} logs -l app=package-server > package.log
32-
else
32+
else
3333
cleanup
3434
fi
3535

0 commit comments

Comments
 (0)