Skip to content

Commit 1272a01

Browse files
authored
HADOOP-17629. TestRPC#testAuthorization fails. (#8004)
1 parent 97fe079 commit 1272a01

File tree

1 file changed

+2
-0
lines changed
  • hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/ipc

1 file changed

+2
-0
lines changed

hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/ipc/TestRPC.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -702,6 +702,8 @@ public void testAuthorization() throws Exception {
702702

703703
// Expect to succeed
704704
myConf.set(ACL_CONFIG, "*");
705+
RPC.setProtocolEngine(myConf, TestRpcService.class, ProtobufRpcEngine2.class);
706+
705707
doRPCs(myConf, false);
706708

707709
// Reset authorization to expect failure

0 commit comments

Comments
 (0)