[
https://issues.apache.org/jira/browse/HBASE-12212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14166004#comment-14166004
]
Dima Spivak commented on HBASE-12212:
-------------------------------------
Looks good to me, just a minor nit in the comment ("// returing..." missing the
n).
+1
> HBaseTestingUtility#waitUntilAllRegionsAssigned should wait for RegionStates
> ----------------------------------------------------------------------------
>
> Key: HBASE-12212
> URL: https://issues.apache.org/jira/browse/HBASE-12212
> Project: HBase
> Issue Type: Improvement
> Affects Versions: 1.0.0, 2.0.0, 0.98.6
> Reporter: Dima Spivak
> Assignee: Dima Spivak
> Attachments:
> 0002-HBASE-12212-HBaseTestingUtility-waitUntilAllRegionsA.patch
>
>
> At the moment, #waitUntilAllRegionsAssigned checks to see if each region has
> a value for info:server in the meta table, but I've encountered a few
> instances of tests that fail because RegionStates#getRegionsOfTable returns
> an empty list, despite #waitUntilAllRegionsAssigned being called after the
> table was created. Let's fix this.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)