AMBARI-13418. Stop-and-Start Upgrade: Upgrade START call cannot find upgrade 
pack to use (alejandro)


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

Branch: refs/heads/branch-dev-patch-upgrade
Commit: 1d61e6662942902c721df03b306ef02fd958a1f1
Parents: 3318eb6
Author: Alejandro Fernandez <afernan...@hortonworks.com>
Authored: Fri Oct 16 11:58:54 2015 -0700
Committer: Alejandro Fernandez <afernan...@hortonworks.com>
Committed: Fri Oct 16 11:58:54 2015 -0700

----------------------------------------------------------------------
 .../java/org/apache/ambari/server/state/UpgradeHelperTest.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/1d61e666/ambari-server/src/test/java/org/apache/ambari/server/state/UpgradeHelperTest.java
----------------------------------------------------------------------
diff --git 
a/ambari-server/src/test/java/org/apache/ambari/server/state/UpgradeHelperTest.java
 
b/ambari-server/src/test/java/org/apache/ambari/server/state/UpgradeHelperTest.java
index 77595a3..1cc67ef 100644
--- 
a/ambari-server/src/test/java/org/apache/ambari/server/state/UpgradeHelperTest.java
+++ 
b/ambari-server/src/test/java/org/apache/ambari/server/state/UpgradeHelperTest.java
@@ -160,7 +160,7 @@ public class UpgradeHelperTest {
 
     makeCluster();
     try {
-      String preferredUpgradePackName = null;
+      String preferredUpgradePackName = "upgrade_test";
       UpgradePack up = m_upgradeHelper.suggestUpgradePack(clusterName, 
upgradeFromVersion, upgradeToVersion, upgradeDirection, upgradeType, 
preferredUpgradePackName);
       assertEquals(upgradeType, up.getType());
     } catch (AmbariException e){

Reply via email to