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:
Michael Stack 2011-04-28 06:15:15 +00:00
parent 46d615b210
commit 555b30d224
1 changed files with 1 additions and 3 deletions

View File

@ -79,8 +79,6 @@ public class TestReplicationSourceManager {
private static final byte[] f1 = Bytes.toBytes("f1"); 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 final byte[] test = Bytes.toBytes("test");
private static FileSystem fs; private static FileSystem fs;
@ -225,7 +223,7 @@ public class TestReplicationSourceManager {
@Override @Override
public ServerName getServerName() { 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 @Override