HBASE-26542 Apply a `package` to test protobuf files (addendum)
RpcServer identifies the services it hosts by unqualified service name. Thus, use `getName()` instead of `getFullName()`. See also HBASE-26589. Signed-off-by: Peter Somogyi <psomogyi@apache.org>
This commit is contained in:
parent
c93e4572c1
commit
006433b066
|
@ -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());
|
||||
|
|
Loading…
Reference in New Issue