diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/ipc/TestRpcServerSlowConnectionSetup.java b/hbase-server/src/test/java/org/apache/hadoop/hbase/ipc/TestRpcServerSlowConnectionSetup.java index aedf57e72f0..3627262817d 100644 --- a/hbase-server/src/test/java/org/apache/hadoop/hbase/ipc/TestRpcServerSlowConnectionSetup.java +++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/ipc/TestRpcServerSlowConnectionSetup.java @@ -114,7 +114,7 @@ public class TestRpcServerSlowConnectionSetup { socket.getOutputStream().flush(); ConnectionHeader header = ConnectionHeader.newBuilder() - .setServiceName(TestRpcServiceProtos.TestProtobufRpcProto.getDescriptor().getFullName()) + .setServiceName(TestRpcServiceProtos.TestProtobufRpcProto.getDescriptor().getName()) .setVersionInfo(ProtobufUtil.getVersionInfo()).build(); DataOutputStream dos = new DataOutputStream(socket.getOutputStream()); dos.writeInt(header.getSerializedSize());