You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bigtop.apache.org by co...@apache.org on 2014/02/28 00:20:58 UTC

git commit: BIGTOP-1226. TestSLive setup() already being used, need to rename

Repository: bigtop
Updated Branches:
  refs/heads/master 69f7c9426 -> 26395ac24


BIGTOP-1226. TestSLive setup() already being used, need to rename


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

Branch: refs/heads/master
Commit: 26395ac242ea6aea0b083b7cb19b895a3e70a572
Parents: 69f7c94
Author: Virginia Wang <vi...@wandisco.com>
Authored: Thu Feb 27 15:19:37 2014 -0800
Committer: Konstantin Boudnik <co...@apache.org>
Committed: Thu Feb 27 15:19:37 2014 -0800

----------------------------------------------------------------------
 .../groovy/org/apache/bigtop/itest/iolongevity/TestSLive.groovy  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/bigtop/blob/26395ac2/bigtop-tests/test-artifacts/longevity/src/main/groovy/org/apache/bigtop/itest/iolongevity/TestSLive.groovy
----------------------------------------------------------------------
diff --git a/bigtop-tests/test-artifacts/longevity/src/main/groovy/org/apache/bigtop/itest/iolongevity/TestSLive.groovy b/bigtop-tests/test-artifacts/longevity/src/main/groovy/org/apache/bigtop/itest/iolongevity/TestSLive.groovy
index caa0069..db86c9e 100644
--- a/bigtop-tests/test-artifacts/longevity/src/main/groovy/org/apache/bigtop/itest/iolongevity/TestSLive.groovy
+++ b/bigtop-tests/test-artifacts/longevity/src/main/groovy/org/apache/bigtop/itest/iolongevity/TestSLive.groovy
@@ -84,7 +84,7 @@ public class TestSLive {
     ]
   }
 
-  public void setUp() {
+  public void setpDir() {
     sh.exec("hadoop fs -rm -r " + SLIVE_ROOT_FILE)
     sh.exec("hadoop fs -mkdir " + SLIVE_ROOT_FILE)
     Thread.sleep(SLEEP_TIMEOUT)
@@ -99,7 +99,7 @@ public class TestSLive {
   public void testSlive() {
     String suffix = ""
     for (int counter = 0; counter < numOfIterations; counter++) {
-      setUp()
+      setupDir()
       sliveCmds.each { cmd ->
         sh.exec(cmd + suffix)
         logError(sh)