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

RATIS-1341. Fail-fast tests only for PRs #450

Merged
merged 2 commits into from
Mar 18, 2021

Conversation

adoroszlai
Copy link
Contributor

What changes were proposed in this pull request?

#422 added matrix build for unit tests with 3 splits, with fail-fast behavior (if one split fails, other splits are cancelled). @szetszwo pointed out that

better to always run all the tests since the overall running time is short. This is the reason that we moved the tests to the ratis-test module; see RATIS-399

I propose to run all tests for push builds, but keep fail-fast behavior for PRs. The rationale is that PRs should be merged only after fully green build, so any failing test requires a new run.

https://issues.apache.org/jira/browse/RATIS-1341

How was this patch tested?

Push build with failed unit (grpc) check, but completed other unit checks:
https://github.com/adoroszlai/incubator-ratis/actions/runs/660949453

Copy link
Contributor

@szetszwo szetszwo left a comment

Choose a reason for hiding this comment

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

+1 the change looks good.

@szetszwo szetszwo merged commit 2f33a16 into apache:master Mar 18, 2021
@adoroszlai adoroszlai deleted the RATIS-1341 branch March 18, 2021 14:21
@adoroszlai
Copy link
Contributor Author

Thanks @szetszwo for reviewing and committing it.

symious pushed a commit to symious/ratis that referenced this pull request Feb 20, 2024
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