You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Jean-Daniel Cryans (JIRA)" <ji...@apache.org> on 2010/06/09 00:01:24 UTC

[jira] Resolved: (HBASE-2684) TestMasterWrongRS flaky in trunk

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

Jean-Daniel Cryans resolved HBASE-2684.
---------------------------------------

     Hadoop Flags: [Reviewed]
    Fix Version/s: 0.21.0
       Resolution: Fixed

Committed to trunk.

> TestMasterWrongRS flaky in trunk
> --------------------------------
>
>                 Key: HBASE-2684
>                 URL: https://issues.apache.org/jira/browse/HBASE-2684
>             Project: HBase
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 0.21.0
>            Reporter: Todd Lipcon
>            Assignee: Jean-Daniel Cryans
>             Fix For: 0.21.0
>
>         Attachments: HBASE-2684.patch
>
>
> I think this is just a flaky test. I saw:
> java.lang.AssertionError: expected:<2> but was:<3>
> on the first:
>     assertEquals(2, cluster.getLiveRegionServerThreads().size());
> My guess is that the 2 second sleep is not good enough. We should probably either force a heartbeat somehow, or hook in so we can wait until there's been a heartbeat, rather than sleeping a hardcoded amount of time.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.