HBASE-19350 TestMetaWithReplicas is flaky

This commit is contained in:
Chia-Ping Tsai 2017-12-01 03:39:44 +08:00
parent 49eaa7a8f9
commit 2bda22a64e
1 changed files with 4 additions and 1 deletions

View File

@ -296,7 +296,10 @@ public class ClusterStatus {
@InterfaceAudience.Private @InterfaceAudience.Private
public List<RegionState> getRegionsInTransition() { public List<RegionState> getRegionsInTransition() {
return this.intransition; if (intransition == null) {
return Collections.emptyList();
}
return Collections.unmodifiableList(intransition);
} }
public String getClusterId() { public String getClusterId() {