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

Fail CI unit tests after first failure #1185

Merged
merged 1 commit into from
Mar 24, 2023
Merged

Fail CI unit tests after first failure #1185

merged 1 commit into from
Mar 24, 2023

Conversation

kerzhner
Copy link
Contributor

When a test for a package fails, no more tests are run for the package. But tests for other packages will continue. See
golang/go#33038.

For now, this is good enough. The main issue we are seeing is flickering of client_test unit tests. As soon as a client_test test fails, no more tests for the client_test package will run. So logs with the failing test will not be overwritten.

Note that the flag will stop future tests for a failing package.
But tests for other packages will continue. See
golang/go#33038
@netlify
Copy link

netlify bot commented Mar 23, 2023

Deploy Preview for nitrodocs canceled.

Name Link
🔨 Latest commit a298b0f
🔍 Latest deploy log https://app.netlify.com/sites/nitrodocs/deploys/641cb4c0255f890008b152d5

@kerzhner kerzhner merged commit 4d27096 into main Mar 24, 2023
@kerzhner kerzhner deleted the failfast branch March 24, 2023 15:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants