ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jonathanhur...@apache.org
Subject [44/53] [abbrv] ambari git commit: AMBARI-20779 Create Ranger KMS HDFS audit folder as part of install. FIX UT (mugdha)
Date Wed, 03 May 2017 16:47:27 GMT
AMBARI-20779 Create Ranger KMS HDFS audit folder as part of install. FIX UT (mugdha)


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

Branch: refs/heads/branch-feature-AMBARI-12556
Commit: 05cf0dd72707b8bc05c8462f35ddaf992e271b9d
Parents: 331aad4
Author: Mugdha Varadkar <mugdha@apache.org>
Authored: Wed May 3 01:10:50 2017 +0530
Committer: Mugdha Varadkar <mugdha@apache.org>
Committed: Wed May 3 10:42:11 2017 +0530

----------------------------------------------------------------------
 .../test/java/org/apache/ambari/server/stack/StackManagerTest.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/05cf0dd7/ambari-server/src/test/java/org/apache/ambari/server/stack/StackManagerTest.java
----------------------------------------------------------------------
diff --git a/ambari-server/src/test/java/org/apache/ambari/server/stack/StackManagerTest.java
b/ambari-server/src/test/java/org/apache/ambari/server/stack/StackManagerTest.java
index d8c02dc..0a0404a 100644
--- a/ambari-server/src/test/java/org/apache/ambari/server/stack/StackManagerTest.java
+++ b/ambari-server/src/test/java/org/apache/ambari/server/stack/StackManagerTest.java
@@ -937,12 +937,12 @@ public class StackManagerTest {
     ArrayList<String> rangerKmsBlockers = (ArrayList<String>)generalDeps.get(kmsRoleCommand);
 
     assertTrue(kmsRoleCommand + " should be dependent of " + rangerAdminRoleCommand, rangerKmsBlockers.contains(rangerAdminRoleCommand));
+    assertTrue(kmsRoleCommand + " should be dependent of " + nameNodeRoleCommand, rangerKmsBlockers.contains(nameNodeRoleCommand));
 
     // Ranger User Sync
     ArrayList<String> rangerUserSyncBlockers = (ArrayList<String>)generalDeps.get(rangerUserSyncRoleCommand);
 
     assertTrue(rangerUserSyncRoleCommand + " should be dependent of " + rangerAdminRoleCommand,
rangerUserSyncBlockers.contains(rangerAdminRoleCommand));
-    assertTrue(rangerUserSyncRoleCommand + " should be dependent of " + kmsRoleCommand, rangerUserSyncBlockers.contains(kmsRoleCommand));
   }
   //todo: component override assertions
 


Mime
View raw message