You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Nick Dimiduk (Jira)" <ji...@apache.org> on 2020/10/10 22:20:00 UTC

[jira] [Reopened] (HBASE-25156) TestMasterFailover.testSimpleMasterFailover is flaky

     [ https://issues.apache.org/jira/browse/HBASE-25156?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nick Dimiduk reopened HBASE-25156:
----------------------------------

Re-opening for addendum. Will focus on master until things look stable.

> TestMasterFailover.testSimpleMasterFailover is flaky 
> -----------------------------------------------------
>
>                 Key: HBASE-25156
>                 URL: https://issues.apache.org/jira/browse/HBASE-25156
>             Project: HBase
>          Issue Type: Test
>          Components: test
>    Affects Versions: 3.0.0-alpha-1
>            Reporter: Nick Dimiduk
>            Assignee: Nick Dimiduk
>            Priority: Major
>             Fix For: 3.0.0-alpha-1, 2.3.3, 1.7.0, 2.4.0, 2.2.7
>
>
> {noformat}
> [ERROR] Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 32.996 s <<< FAILURE! - in org.apache.hadoop.hbase.master.TestMasterFailover
> [ERROR] org.apache.hadoop.hbase.master.TestMasterFailover.testSimpleMasterFailover  Time elapsed: 12.317 s  <<< FAILURE!
> java.lang.AssertionError: expected:<1> but was:<2>
> 	at org.apache.hadoop.hbase.master.TestMasterFailover.testSimpleMasterFailover(TestMasterFailover.java:133)
> {noformat}
> Looks like this test depends on metrics to be updated as a source of side-effect used to verify the test. Seems like it should retry the check a few times, or maybe we need a last-updated monotonic value that the test can check before and after it expects a change to be visible.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)