Repository: ambari Updated Branches: refs/heads/branch-2.5 aa7b9aa44 -> d707c9507
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/d707c950 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/d707c950 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/d707c950 Branch: refs/heads/branch-2.5 Commit: d707c9507280209979d490c7c04b91259f7dcf16 Parents: aa7b9aa Author: Jayush Luniya <[email protected]> Authored: Fri Feb 24 10:11:51 2017 -0800 Committer: Jayush Luniya <[email protected]> Committed: Fri Feb 24 10:12:43 2017 -0800 ---------------------------------------------------------------------- .../ambari/server/controller/AmbariManagementControllerTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/d707c950/ambari-server/src/test/java/org/apache/ambari/server/controller/AmbariManagementControllerTest.java ---------------------------------------------------------------------- diff --git a/ambari-server/src/test/java/org/apache/ambari/server/controller/AmbariManagementControllerTest.java b/ambari-server/src/test/java/org/apache/ambari/server/controller/AmbariManagementControllerTest.java index 3a53388..8859d7f 100644 --- a/ambari-server/src/test/java/org/apache/ambari/server/controller/AmbariManagementControllerTest.java +++ b/ambari-server/src/test/java/org/apache/ambari/server/controller/AmbariManagementControllerTest.java @@ -1308,8 +1308,8 @@ public class AmbariManagementControllerTest { assertEquals("[\"myhdfsuser\"]", ec.getHostLevelParams().get(ExecutionCommand.KeyNames.USER_LIST)); assertTrue(ec.getHostLevelParams().containsKey(ExecutionCommand.KeyNames.GROUP_LIST)); assertEquals("[\"myhdfsgroup\"]", ec.getHostLevelParams().get(ExecutionCommand.KeyNames.GROUP_LIST)); - assertTrue(ec.getHostLevelParams().containsKey(ExecutionCommand.KeyNames.USER_GROUP)); - assertEquals("{\"myhdfsuser\":[\"myhdfsgroup\"]}", ec.getHostLevelParams().get(ExecutionCommand.KeyNames.USER_GROUP)); + assertTrue(ec.getHostLevelParams().containsKey(ExecutionCommand.KeyNames.USER_GROUPS)); + assertEquals("{\"myhdfsuser\":[\"myhdfsgroup\"]}", ec.getHostLevelParams().get(ExecutionCommand.KeyNames.USER_GROUPS)); } @Test
