Fix up a little test failure.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1494789 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e597eaf136
commit
7e4a671102
|
@ -729,6 +729,9 @@ public class TestSaslRPC {
|
|||
final Configuration clientConf = new Configuration(conf);
|
||||
SecurityUtil.setAuthenticationMethod(clientAuth, clientConf);
|
||||
UserGroupInformation.setConfiguration(clientConf);
|
||||
clientConf.setBoolean(
|
||||
CommonConfigurationKeys.IPC_CLIENT_FALLBACK_TO_SIMPLE_AUTH_ALLOWED_KEY,
|
||||
true);
|
||||
|
||||
final UserGroupInformation clientUgi =
|
||||
UserGroupInformation.createRemoteUser(currentUser + "-CLIENT");
|
||||
|
|
Loading…
Reference in New Issue