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

Add -failfast flag when the mode is fail_fast #15790

Merged
merged 1 commit into from
Apr 27, 2023

Conversation

Rajalakshmi-Girish
Copy link
Contributor

Signed-off-by: Rajalakshmi Girish <rajalakshmi.girish1@ibm.com>
Copy link
Contributor

@ptabor ptabor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that the role of this flag was to drive the behavior across many packages rather than pass it down to a specific package to not continue executing other tests in the package.

If I understand the tradeoff with this change is mostly about our pre-merge test:

  • tests (if failing) will fail faster
  • the results will be less complete (as they will contain only a single failed test, rather than all of them in a single package).

As we expect developer to rerun the whole target locally after fixing a test it sounds like a fair tradeoff.

@Rajalakshmi-Girish
Copy link
Contributor Author

Will this PR need an LGTM comment to merge? @jmhbnz Can you please help me understand what it needs to merge this one.

@Rajalakshmi-Girish
Copy link
Contributor Author

Will this PR need an LGTM comment to merge? @jmhbnz Can you please help me understand what it needs to merge this one.

or may be should all checks be successful?

@serathius
Copy link
Member

Two maintainer approvals are enough.

@serathius
Copy link
Member

Let's wait for test to pass.

@Rajalakshmi-Girish
Copy link
Contributor Author

Rajalakshmi-Girish commented Apr 27, 2023

Let's wait for test to pass.

Will it auto merge if all tests pass and there are two approvals?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

5 participants