-
Notifications
You must be signed in to change notification settings - Fork 18.6k
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
added entry for running unit tests with junit report #39638
Conversation
|
||
GOJUNITREPORT_COMMIT=af01ea7f8024089b458d804d5cdf190f962a9a0c | ||
|
||
install_gojunitreport() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are there advantages to using this instead of gotestsum? docker/cli#1639
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i'll have a look. i started with go-junit-report because that's what i've used in the past and was easiest to setup.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i decided to use gotestsum
after getting to know it because it's better
849a6f6
to
927ea39
Compare
A successful run with test results: https://ci.docker.com/public/blue/organizations/jenkins/moby/detail/PR-39638/3/tests |
7e989e3
to
8954289
Compare
ping @vdemeester ptal |
interesting failure on janky
|
@thaJeztah i needed to introduce a failure to see how junit failure reporting looks: https://ci.docker.com/public/job/moby/job/PR-39638/9/testReport/github/com_docker_docker_pkg_pubsub/TestSendToOneSub/ |
Signed-off-by: Andrew Hsu <andrewhsu@docker.com>
I think this is ready for merge. This PR adds another parallel PR check stage in the The contents of the bundle are:
The The graphs and tables will help developers quickly locate the info of the failing unit tests instead of searching for the error on the verbose console output page of the jenkins job. To accomplish this, I had to add gotestsum to the |
|
PTAL @thaJeztah @vdemeester |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🤳🏼
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🎉
LGTM |
Signed-off-by: Andrew Hsu andrewhsu@docker.com
(cherry picked from commit 30d1bf8)
Signed-off-by: Tibor Vass tibor@docker.com
#39637