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
f1add382bd
commit
37397637ad
|
@ -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