ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nc...@apache.org
Subject [03/11] ambari git commit: AMBARI-14796: Fix source version in UpgradeCatalog230 (Ajit Kumar via smnaha)
Date Wed, 27 Jan 2016 15:33:22 GMT
AMBARI-14796: Fix source version in UpgradeCatalog230 (Ajit Kumar via smnaha)


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

Branch: refs/heads/branch-dev-patch-upgrade
Commit: a816cada6ab75e05cd2099ed97586294ed30a73d
Parents: e53d7ba
Author: Nahappan Somasundaram <nsomasundaram@hortonworks.com>
Authored: Tue Jan 26 16:43:43 2016 -0800
Committer: Nahappan Somasundaram <nsomasundaram@hortonworks.com>
Committed: Tue Jan 26 16:43:43 2016 -0800

----------------------------------------------------------------------
 .../java/org/apache/ambari/server/upgrade/UpgradeCatalog230.java   | 2 +-
 .../org/apache/ambari/server/upgrade/UpgradeCatalog230Test.java    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/a816cada/ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog230.java
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog230.java
b/ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog230.java
index 38b3c6b..2d6fe03 100644
--- a/ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog230.java
+++ b/ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog230.java
@@ -67,7 +67,7 @@ public class UpgradeCatalog230 extends AbstractUpgradeCatalog {
    */
   @Override
   public String getSourceVersion() {
-    return "2.2.0";
+    return "2.2.1";
   }
 
   /**

http://git-wip-us.apache.org/repos/asf/ambari/blob/a816cada/ambari-server/src/test/java/org/apache/ambari/server/upgrade/UpgradeCatalog230Test.java
----------------------------------------------------------------------
diff --git a/ambari-server/src/test/java/org/apache/ambari/server/upgrade/UpgradeCatalog230Test.java
b/ambari-server/src/test/java/org/apache/ambari/server/upgrade/UpgradeCatalog230Test.java
index ad90127..417cf66 100644
--- a/ambari-server/src/test/java/org/apache/ambari/server/upgrade/UpgradeCatalog230Test.java
+++ b/ambari-server/src/test/java/org/apache/ambari/server/upgrade/UpgradeCatalog230Test.java
@@ -263,7 +263,7 @@ public class UpgradeCatalog230Test extends EasyMockSupport {
   @Test
   public void testGetSourceVersion() {
     UpgradeCatalog upgradeCatalog = injector.getInstance(UpgradeCatalog230.class);
-    Assert.assertEquals("2.2.0", upgradeCatalog.getSourceVersion());
+    Assert.assertEquals("2.2.1", upgradeCatalog.getSourceVersion());
   }
 
 }


Mime
View raw message