Repository: ambari
Updated Branches:
  refs/heads/branch-2.5 d707c9507 -> cec36313c


AMBARI-20034. USER to GROUP mapping (hdfs_user -> hadoop_group) should be stack 
driven - addendum to fix compilation issue (Madhuvanthi Radhakrishnan via 
jluniya)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/cec36313
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/cec36313
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/cec36313

Branch: refs/heads/branch-2.5
Commit: cec36313c7adb3c50e7a5b93beeacbec17de87f9
Parents: d707c95
Author: Jayush Luniya <[email protected]>
Authored: Fri Feb 24 10:35:10 2017 -0800
Committer: Jayush Luniya <[email protected]>
Committed: Fri Feb 24 10:35:10 2017 -0800

----------------------------------------------------------------------
 .../controller/AmbariCustomCommandExecutionHelperTest.java       | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/cec36313/ambari-server/src/test/java/org/apache/ambari/server/controller/AmbariCustomCommandExecutionHelperTest.java
----------------------------------------------------------------------
diff --git 
a/ambari-server/src/test/java/org/apache/ambari/server/controller/AmbariCustomCommandExecutionHelperTest.java
 
b/ambari-server/src/test/java/org/apache/ambari/server/controller/AmbariCustomCommandExecutionHelperTest.java
index 84fbba3..19a925a 100644
--- 
a/ambari-server/src/test/java/org/apache/ambari/server/controller/AmbariCustomCommandExecutionHelperTest.java
+++ 
b/ambari-server/src/test/java/org/apache/ambari/server/controller/AmbariCustomCommandExecutionHelperTest.java
@@ -222,8 +222,8 @@ public class AmbariCustomCommandExecutionHelperTest {
 
     ExecutionCommand command = commands.get(0).getExecutionCommand();
     Assert.assertNotNull(command.getHostLevelParams());
-    
Assert.assertTrue(command.getHostLevelParams().containsKey(ExecutionCommand.KeyNames.USER_GROUP));
-    Assert.assertEquals("{\"zookeeperUser\":[\"zookeeperGroup\"]}", 
command.getHostLevelParams().get(ExecutionCommand.KeyNames.USER_GROUP));
+    
Assert.assertTrue(command.getHostLevelParams().containsKey(ExecutionCommand.KeyNames.USER_GROUPS));
+    Assert.assertEquals("{\"zookeeperUser\":[\"zookeeperGroup\"]}", 
command.getHostLevelParams().get(ExecutionCommand.KeyNames.USER_GROUPS));
     Assert.assertEquals(true, 
command.getForceRefreshConfigTagsBeforeExecution());
   }
 

Reply via email to