Skip to content

Commit 006433b

Browse files
committed
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>
1 parent c93e457 commit 006433b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hbase-server/src/test/java/org/apache/hadoop/hbase/ipc/TestRpcServerSlowConnectionSetup.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ public void test() throws IOException, InterruptedException {
114114
socket.getOutputStream().flush();
115115

116116
ConnectionHeader header = ConnectionHeader.newBuilder()
117-
.setServiceName(TestRpcServiceProtos.TestProtobufRpcProto.getDescriptor().getFullName())
117+
.setServiceName(TestRpcServiceProtos.TestProtobufRpcProto.getDescriptor().getName())
118118
.setVersionInfo(ProtobufUtil.getVersionInfo()).build();
119119
DataOutputStream dos = new DataOutputStream(socket.getOutputStream());
120120
dos.writeInt(header.getSerializedSize());

0 commit comments

Comments
 (0)