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(raft): remove unnecessary test #8479

Merged
1 commit merged into from Dec 28, 2021
Merged

test(raft): remove unnecessary test #8479

1 commit merged into from Dec 28, 2021

Conversation

deepthidevaki
Copy link
Contributor

Description

Removed a test which was flaky. It is not clear what property this test is verifying. The current one is inherentaly non-deterministic as it expects a specific leader nodes which is not possible to guarantee.

Related issues

closes #8417

Definition of Done

Not all items need to be done depending on the issue and the pull request.

Code changes:

  • The changes are backwards compatibility with previous versions
  • If it fixes a bug then PRs are created to backport the fix to the last two minor versions. You can trigger a backport by assigning labels (e.g. backport stable/0.25) to the PR, in case that fails you need to create backports manually.

Testing:

  • There are unit/integration tests that verify all acceptance criterias of the issue
  • New tests are written to ensure backwards compatibility with further versions
  • The behavior is tested manually
  • The change has been verified by a QA run
  • The impact of the changes is verified by a benchmark

Documentation:

  • The documentation is updated (e.g. BPMN reference, configuration, examples, get-started guides, etc.)
  • New content is added to the release announcement

The test was flaky. It is not clear what property this test is verifying. The current one is inherentaly non-deterministic as it expects a specific leader nodes which is not possible to guarantee.
Copy link
Member

@npepinpe npepinpe left a comment

Choose a reason for hiding this comment

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

👍

Should we backport this?

@deepthidevaki
Copy link
Contributor Author

bors merge

ghost pushed a commit that referenced this pull request Dec 28, 2021
8479: test(raft): remove unnecessary test r=deepthidevaki a=deepthidevaki

## Description

Removed a test which was flaky. It is not clear what property this test is verifying. The current one is inherentaly non-deterministic as it expects a specific leader nodes which is not possible to guarantee.

## Related issues

closes #8417 



Co-authored-by: Deepthi Devaki Akkoorath <deepthidevaki@gmail.com>
@ghost
Copy link

ghost commented Dec 28, 2021

Build failed:

@npepinpe
Copy link
Member

bors retry

Hm, weird, it ran out of memory. Last I had checked, we didn't even get close to the container's memory limits...but maybe instead we're busting the MaxRAMFraction? Although I would expect a different error there...

@ghost ghost merged commit 38b8ced into develop Dec 28, 2021
@ghost ghost deleted the dd-8417-flaky-raftroletest branch December 28, 2021 10:23
@github-actions
Copy link
Contributor

Successfully created backport PR #8489 for stable/1.2.

@github-actions
Copy link
Contributor

Successfully created backport PR #8490 for release-1.3.0.

ghost pushed a commit that referenced this pull request Dec 28, 2021
8489: [Backport stable/1.2] test(raft): remove unnecessary test r=deepthidevaki a=github-actions[bot]

# Description
Backport of #8479 to `stable/1.2`.

relates to #8417

Co-authored-by: Deepthi Devaki Akkoorath <deepthidevaki@gmail.com>
ghost pushed a commit that referenced this pull request Dec 28, 2021
8490: [Backport release-1.3.0] test(raft): remove unnecessary test r=deepthidevaki a=github-actions[bot]

# Description
Backport of #8479 to `release-1.3.0`.

relates to #8417

Co-authored-by: Deepthi Devaki Akkoorath <deepthidevaki@gmail.com>
@korthout korthout added the version:1.3.0 Marks an issue as being completely or in parts released in 1.3.0 label Jan 4, 2022
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
version:1.3.0 Marks an issue as being completely or in parts released in 1.3.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

RaftRolesTest#testStepDownOnRoleChangeInCluster is flaky
3 participants