saintstack commented on a change in pull request #1103: HBASE-23753 Update of
errorprone generated failures
URL: https://github.com/apache/hbase/pull/1103#discussion_r372135010
##########
File path:
hbase-server/src/test/java/org/apache/hadoop/hbase/replication/regionserver/TestReplicationSinkManager.java
##########
@@ -65,12 +90,8 @@ public void testChooseSinks() {
for (int i = 0; i < totalServers; i++) {
serverNames.add(mock(ServerName.class));
}
-
- when(replicationEndpoint.getRegionServers())
- .thenReturn(serverNames);
-
+ this.replicationEndpoint.setRegionServers(serverNames);
Review comment:
Will change.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services