ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject ambari git commit: AMBARI-14935 UpgradeCatalog222Test fails (dsen)
Date Fri, 05 Feb 2016 11:38:47 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk 315f502b0 -> c62233236


AMBARI-14935 UpgradeCatalog222Test fails (dsen)


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

Branch: refs/heads/trunk
Commit: c62233236dffe0eb4b4664fc685fc663db1feb70
Parents: 315f502
Author: Dmytro Sen <dsen@apache.org>
Authored: Fri Feb 5 13:38:38 2016 +0200
Committer: Dmytro Sen <dsen@apache.org>
Committed: Fri Feb 5 13:38:38 2016 +0200

----------------------------------------------------------------------
 .../org/apache/ambari/server/upgrade/UpgradeCatalog222Test.java    | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/c6223323/ambari-server/src/test/java/org/apache/ambari/server/upgrade/UpgradeCatalog222Test.java
----------------------------------------------------------------------
diff --git a/ambari-server/src/test/java/org/apache/ambari/server/upgrade/UpgradeCatalog222Test.java
b/ambari-server/src/test/java/org/apache/ambari/server/upgrade/UpgradeCatalog222Test.java
index b701d78..67b9da5 100644
--- a/ambari-server/src/test/java/org/apache/ambari/server/upgrade/UpgradeCatalog222Test.java
+++ b/ambari-server/src/test/java/org/apache/ambari/server/upgrade/UpgradeCatalog222Test.java
@@ -100,12 +100,14 @@ public class UpgradeCatalog222Test {
     Method addNewConfigurationsFromXml = AbstractUpgradeCatalog.class.getDeclaredMethod("addNewConfigurationsFromXml");
     Method updateAlerts = UpgradeCatalog222.class.getDeclaredMethod("updateAlerts");
     Method updateStormConfigs = UpgradeCatalog222.class.getDeclaredMethod("updateStormConfigs");
+    Method updateAMSConfigs = UpgradeCatalog222.class.getDeclaredMethod("updateAMSConfigs");
 
 
     UpgradeCatalog222 upgradeCatalog222 = createMockBuilder(UpgradeCatalog222.class)
             .addMockedMethod(addNewConfigurationsFromXml)
             .addMockedMethod(updateAlerts)
             .addMockedMethod(updateStormConfigs)
+            .addMockedMethod(updateAMSConfigs)
             .createMock();
 
     upgradeCatalog222.addNewConfigurationsFromXml();


Mime
View raw message