You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ma...@apache.org on 2014/02/05 23:15:26 UTC

git commit: AMBARI-4539. Test fails on Failed tests: testPopulateServicesForStack(org.apache.ambari.server.api.util.StackExtensionHelperTest) (mahadev)

Updated Branches:
  refs/heads/trunk 804a8c5ce -> 64553564d


AMBARI-4539. Test fails on Failed tests: testPopulateServicesForStack(org.apache.ambari.server.api.util.StackExtensionHelperTest) (mahadev)


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

Branch: refs/heads/trunk
Commit: 64553564d98b633049938c589808417db944381a
Parents: 804a8c5
Author: Mahadev Konar <ma...@apache.org>
Authored: Wed Feb 5 14:10:59 2014 -0800
Committer: Mahadev Konar <ma...@apache.org>
Committed: Wed Feb 5 14:10:59 2014 -0800

----------------------------------------------------------------------
 .../apache/ambari/server/api/util/StackExtensionHelperTest.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/64553564/ambari-server/src/test/java/org/apache/ambari/server/api/util/StackExtensionHelperTest.java
----------------------------------------------------------------------
diff --git a/ambari-server/src/test/java/org/apache/ambari/server/api/util/StackExtensionHelperTest.java b/ambari-server/src/test/java/org/apache/ambari/server/api/util/StackExtensionHelperTest.java
index 94bcf12..930d225 100644
--- a/ambari-server/src/test/java/org/apache/ambari/server/api/util/StackExtensionHelperTest.java
+++ b/ambari-server/src/test/java/org/apache/ambari/server/api/util/StackExtensionHelperTest.java
@@ -105,7 +105,7 @@ public class StackExtensionHelperTest {
         // Check custom commands for component
         List<CustomCommandDefinition> customCommands =
                 firstComponent.getCustomCommands();
-        assertEquals(1, customCommands.size());
+        assertEquals(2, customCommands.size());
         assertEquals("RESTART", customCommands.get(0).getName());
         assertTrue(firstComponent.isCustomCommand("RESTART"));
         assertEquals("scripts/hbase_master_restart.py",