You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by jl...@apache.org on 2015/10/27 18:39:58 UTC
ambari git commit: AMBARI-13586: Fix UpgradeCatalog213Test unit test
failures (jluniya)
Repository: ambari
Updated Branches:
refs/heads/trunk 200dae12b -> 2a382efa7
AMBARI-13586: Fix UpgradeCatalog213Test unit test failures (jluniya)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/2a382efa
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/2a382efa
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/2a382efa
Branch: refs/heads/trunk
Commit: 2a382efa73af178e5377e6f99a6a60bd64b9dd36
Parents: 200dae1
Author: Jayush Luniya <jl...@hortonworks.com>
Authored: Tue Oct 27 10:39:51 2015 -0700
Committer: Jayush Luniya <jl...@hortonworks.com>
Committed: Tue Oct 27 10:39:51 2015 -0700
----------------------------------------------------------------------
.../org/apache/ambari/server/upgrade/UpgradeCatalog213Test.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/2a382efa/ambari-server/src/test/java/org/apache/ambari/server/upgrade/UpgradeCatalog213Test.java
----------------------------------------------------------------------
diff --git a/ambari-server/src/test/java/org/apache/ambari/server/upgrade/UpgradeCatalog213Test.java b/ambari-server/src/test/java/org/apache/ambari/server/upgrade/UpgradeCatalog213Test.java
index 3918ec6..9e6e4a1 100644
--- a/ambari-server/src/test/java/org/apache/ambari/server/upgrade/UpgradeCatalog213Test.java
+++ b/ambari-server/src/test/java/org/apache/ambari/server/upgrade/UpgradeCatalog213Test.java
@@ -723,10 +723,11 @@ public class UpgradeCatalog213Test {
}
+ @Test
public void testGetSourceVersion() {
final DBAccessor dbAccessor = createNiceMock(DBAccessor.class);
UpgradeCatalog upgradeCatalog = getUpgradeCatalog(dbAccessor);
- Assert.assertEquals("2.1.2", upgradeCatalog.getSourceVersion());
+ Assert.assertEquals("2.1.2.1", upgradeCatalog.getSourceVersion());
}
@Test