HBASE-1502 Aftermath; fix up of broke tests. Fix TestReplicationSourceManager. The mock server needed to return a server name, any server name but null
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1097332 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
46d615b210
commit
555b30d224
|
@ -79,8 +79,6 @@ public class TestReplicationSourceManager {
|
|||
|
||||
private static final byte[] f1 = Bytes.toBytes("f1");
|
||||
|
||||
private static final byte[] f2 = Bytes.toBytes("f2");
|
||||
|
||||
private static final byte[] test = Bytes.toBytes("test");
|
||||
|
||||
private static FileSystem fs;
|
||||
|
@ -225,7 +223,7 @@ public class TestReplicationSourceManager {
|
|||
|
||||
@Override
|
||||
public ServerName getServerName() {
|
||||
return null; //To change body of implemented methods use File | Settings | File Templates.
|
||||
return new ServerName("hostname.example.org", 1234, -1L);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue