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

Backport "HBASE-25156 TestMasterFailover.testSimpleMasterFailover is flaky (#2507)" to branch-2.2 #2518

Conversation

ndimiduk
Copy link
Member

@ndimiduk ndimiduk commented Oct 8, 2020

Change the test to wait for evidence that the active master has seen
that the backup master killed by the test has gone away. This is done
before proceeding to validate that the dead backup is correctly
omitted from the ClusterStatus report.

Also, minor fixup to several assertions, using assertEquals instead
of assertTrue(...equals(...)) and correcting expected vs. actual
ordering of assertion arguments.

Signed-off-by: Michael Stack stack@apache.org

…che#2507)

Change the test to wait for evidence that the active master has seen
that the backup master killed by the test has gone away. This is done
before proceeding to validate that the dead backup is correctly
omitted from the ClusterStatus report.

Also, minor fixup to several assertions, using `assertEquals` instead
of `assertTrue(...equals(...))` and correcting expected vs. actual
ordering of assertion arguments.

Signed-off-by: Michael Stack <stack@apache.org>
@ndimiduk ndimiduk merged commit e760d9d into apache:branch-2.2 Oct 8, 2020
@ndimiduk ndimiduk deleted the 25156-flaky-TestMasterFailover-branch-2.2 branch October 8, 2020 21:30
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.

1 participant