This is an automated email from the ASF dual-hosted git repository.

szetszwo pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/hadoop.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 1272a014a7c HADOOP-17629. TestRPC#testAuthorization fails. (#8004)
1272a014a7c is described below

commit 1272a014a7c65a9990ecd71e947b5a2b5dfd40b3
Author: Tsz-Wo Nicholas Sze <[email protected]>
AuthorDate: Tue Sep 30 08:54:31 2025 -0700

    HADOOP-17629. TestRPC#testAuthorization fails. (#8004)
---
 .../hadoop-common/src/test/java/org/apache/hadoop/ipc/TestRPC.java      | 2 ++
 1 file changed, 2 insertions(+)

diff --git 
a/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/ipc/TestRPC.java
 
b/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/ipc/TestRPC.java
index 645432acdc5..4d650161a4a 100644
--- 
a/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/ipc/TestRPC.java
+++ 
b/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/ipc/TestRPC.java
@@ -702,6 +702,8 @@ public void testAuthorization() throws Exception {
 
     // Expect to succeed
     myConf.set(ACL_CONFIG, "*");
+    RPC.setProtocolEngine(myConf, TestRpcService.class, 
ProtobufRpcEngine2.class);
+
     doRPCs(myConf, false);
 
     // Reset authorization to expect failure


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to