BIGTOP-876. TestDFSAdmin in hadoop-smoke is outdated and still relies on 
presence of -upgradeProgress


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

Branch: refs/heads/master
Commit: 847b27e70c7f2d9f3a54e310e1ad7293fb28f6c0
Parents: 4b2117f
Author: Konstantin Boudnik <[email protected]>
Authored: Thu Mar 21 12:14:46 2013 -0700
Committer: Konstantin Boudnik <[email protected]>
Committed: Thu Mar 21 12:27:22 2013 -0700

----------------------------------------------------------------------
 .../bigtop/itest/hadoop/hdfs/TestDFSAdmin.groovy   |   15 ---------------
 1 files changed, 0 insertions(+), 15 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/bigtop/blob/847b27e7/bigtop-tests/test-artifacts/hadoop/src/main/groovy/org/apache/bigtop/itest/hadoop/hdfs/TestDFSAdmin.groovy
----------------------------------------------------------------------
diff --git 
a/bigtop-tests/test-artifacts/hadoop/src/main/groovy/org/apache/bigtop/itest/hadoop/hdfs/TestDFSAdmin.groovy
 
b/bigtop-tests/test-artifacts/hadoop/src/main/groovy/org/apache/bigtop/itest/hadoop/hdfs/TestDFSAdmin.groovy
index e50c597..795a502 100644
--- 
a/bigtop-tests/test-artifacts/hadoop/src/main/groovy/org/apache/bigtop/itest/hadoop/hdfs/TestDFSAdmin.groovy
+++ 
b/bigtop-tests/test-artifacts/hadoop/src/main/groovy/org/apache/bigtop/itest/hadoop/hdfs/TestDFSAdmin.groovy
@@ -120,21 +120,6 @@ public class TestDFSAdmin {
   }
 
   @Test
-  public void testDFSupgrades() {
-    // upgradeProgress
-    System.out.println("-upgradeProgress"); 
-    shHDFS.exec("hdfs dfsadmin -upgradeProgress details");
-    assertTrue("-upgradeProgress details failed", shHDFS.getRet() == 0);
-    shHDFS.exec("hdfs dfsadmin -upgradeProgress status");
-    assertTrue("-upgradeProgress status failed", shHDFS.getRet() == 0);
-
-    // finalizeUpgrade
-    System.out.println("-finalizeUpgrade");
-    shHDFS.exec("hdfs dfsadmin -finalizeUpgrade");
-    assertTrue("-finalizeUpgrade failed", shHDFS.getRet() == 0);
-  }
-
-  @Test
   public void testDFSstorage() {  
     // restoreFailedStorage
     System.out.println("-restoreFailedStorage"); 

Reply via email to