Skip to content

Commit

Permalink
test(e2e): fix logging when e2e test fails (#1090)
Browse files Browse the repository at this point in the history
Signed-off-by: Billy Zha <[email protected]>
  • Loading branch information
qweeah authored Aug 29, 2023
1 parent 9974dc4 commit 1c010cb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/e2e/scripts/e2e.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@ echo " === run tests === "
if ! ginkgo -r -p --succinct suite; then
echo " === retriving registry error logs === "
echo '-------- oras distribution trace -------------'
docker logs -t --tail 200 $oras_container_name
docker logs -t --tail 200 $ORAS_CTR_NAME
echo '-------- upstream distribution trace -------------'
docker logs -t --tail 200 $upstream_container_name
docker logs -t --tail 200 $UPSTREAM_CTR_NAME
echo '-------- zot trace -------------'
docker logs -t --tail 200 $zot_container_name
docker logs -t --tail 200 $ZOT_CTR_NAME
exit 1
fi

0 comments on commit 1c010cb

Please sign in to comment.