Browse Source

AMBARI-303. Cleanup testing code for uninstall failure (simulation). Contributed by Vikram.

git-svn-id: https://svn.apache.org/repos/asf/incubator/ambari/branches/ambari-186@1343006 13f79535-47bb-0310-9956-ffa450edef68
Jitendra Nath Pandey 13 years ago
parent
commit
e190178c5e
2 changed files with 3 additions and 3 deletions
  1. 3 0
      CHANGES.txt
  2. 0 3
      hmc/php/frontend/uninstallCleanup.php

+ 3 - 0
CHANGES.txt

@@ -6,6 +6,9 @@ characters wide.
 
 Release 0.1.x - unreleased
 
+  AMBARI-303. Cleanup testing code for uninstall failure (simulation). 
+  (vikram via jitendra)
+
   AMBARI-301. Uninstall should not stop HMC. (vikram via jitendra)
   
   AMBARI-273. Fix TxnProgressWidget To Show Failed States When No SubTxn Is In Progress (reznor via vgogate)

+ 0 - 3
hmc/php/frontend/uninstallCleanup.php

@@ -107,9 +107,6 @@ function deBootStrap ($clusterName, $deployUser, $stageInfo)
         $allDone = true;
         $result = 0;
         $error = "";
-        // remove the following 2 lines FIXME
-        $error = "Not a failure! LOL";
-        $result = 1;
       } else if (($lastTxn['opStatus'] == "FAILED") || 
           ($lastTxn['opStatus'] == "TOTALFAILURE")) {
         $logger->log_debug("");