Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test(e2e): fix logging when e2e test fails #1090

Merged
merged 2 commits into from
Aug 29, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading