Repository: bigtop
Updated Branches:
  refs/heads/master 651cf67ba -> 51ede841a


BIGTOP-1521. Bigtop smoke-tests hierarchy and fast failure


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

Branch: refs/heads/master
Commit: 51ede841a7cf30f34f9fda10d712ccc16b740c3b
Parents: 651cf67
Author: Dasha <[email protected]>
Authored: Mon Feb 23 12:11:29 2015 -0800
Committer: Dasha <[email protected]>
Committed: Mon Feb 23 12:11:29 2015 -0800

----------------------------------------------------------------------
 .../bigtop/itest/hadoop/mapreduce/TestHadoopExamples.groovy      | 2 +-
 .../apache/bigtop/itest/hadoop/mapreduce/TestHadoopSmoke.groovy  | 4 ++--
 .../groovy/org/apache/bigtop/itest/hadoop/yarn/TestNode.groovy   | 2 +-
 .../org/apache/bigtop/itest/hadoop/yarn/TestRmAdmin.groovy       | 4 ++--
 4 files changed, 6 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/bigtop/blob/51ede841/bigtop-tests/test-artifacts/hadoop/src/main/groovy/org/apache/bigtop/itest/hadoop/mapreduce/TestHadoopExamples.groovy
----------------------------------------------------------------------
diff --git 
a/bigtop-tests/test-artifacts/hadoop/src/main/groovy/org/apache/bigtop/itest/hadoop/mapreduce/TestHadoopExamples.groovy
 
b/bigtop-tests/test-artifacts/hadoop/src/main/groovy/org/apache/bigtop/itest/hadoop/mapreduce/TestHadoopExamples.groovy
index 6b6fe7d..5a19945 100644
--- 
a/bigtop-tests/test-artifacts/hadoop/src/main/groovy/org/apache/bigtop/itest/hadoop/mapreduce/TestHadoopExamples.groovy
+++ 
b/bigtop-tests/test-artifacts/hadoop/src/main/groovy/org/apache/bigtop/itest/hadoop/mapreduce/TestHadoopExamples.groovy
@@ -145,7 +145,7 @@ class TestHadoopExamples {
     testJar = HADOOP_EXAMPLES_JAR;
   }
 
-  @Test
+  @Test (timeout = 0x1620000l)
   void testMRExample() {
     if (FailureVars.instance.getRunFailures()
       || FailureVars.instance.getServiceRestart()

http://git-wip-us.apache.org/repos/asf/bigtop/blob/51ede841/bigtop-tests/test-artifacts/hadoop/src/main/groovy/org/apache/bigtop/itest/hadoop/mapreduce/TestHadoopSmoke.groovy
----------------------------------------------------------------------
diff --git 
a/bigtop-tests/test-artifacts/hadoop/src/main/groovy/org/apache/bigtop/itest/hadoop/mapreduce/TestHadoopSmoke.groovy
 
b/bigtop-tests/test-artifacts/hadoop/src/main/groovy/org/apache/bigtop/itest/hadoop/mapreduce/TestHadoopSmoke.groovy
index 7294197..63998ac 100644
--- 
a/bigtop-tests/test-artifacts/hadoop/src/main/groovy/org/apache/bigtop/itest/hadoop/mapreduce/TestHadoopSmoke.groovy
+++ 
b/bigtop-tests/test-artifacts/hadoop/src/main/groovy/org/apache/bigtop/itest/hadoop/mapreduce/TestHadoopSmoke.groovy
@@ -68,7 +68,7 @@ class TestHadoopSmoke {
     sh.exec("hadoop fs -rmr -skipTrash ${testDir}")
   }
 
-  @Test
+  @Test (timeout = 0x810000l)
   void testCacheArchive() {
     sh.exec("hadoop fs -rmr ${testDir}/cachefile/out",
       cmd + ' -cacheArchive ' + arg + cmd2)
@@ -79,7 +79,7 @@ class TestHadoopSmoke {
     assertEquals("cache1\t\ncache2\t", sh.out.join('\n'))
   }
 
-  @Test
+  @Test (timeout = 0x810000l)
   void testArchives() {
     sh.exec("hadoop fs -rmr ${testDir}/cachefile/out",
       cmd + ' -archives ' + arg + cmd2)

http://git-wip-us.apache.org/repos/asf/bigtop/blob/51ede841/bigtop-tests/test-artifacts/hadoop/src/main/groovy/org/apache/bigtop/itest/hadoop/yarn/TestNode.groovy
----------------------------------------------------------------------
diff --git 
a/bigtop-tests/test-artifacts/hadoop/src/main/groovy/org/apache/bigtop/itest/hadoop/yarn/TestNode.groovy
 
b/bigtop-tests/test-artifacts/hadoop/src/main/groovy/org/apache/bigtop/itest/hadoop/yarn/TestNode.groovy
index 19bbd8f..1dd2c1a 100644
--- 
a/bigtop-tests/test-artifacts/hadoop/src/main/groovy/org/apache/bigtop/itest/hadoop/yarn/TestNode.groovy
+++ 
b/bigtop-tests/test-artifacts/hadoop/src/main/groovy/org/apache/bigtop/itest/hadoop/yarn/TestNode.groovy
@@ -42,7 +42,7 @@ public class TestNode {
   public static void tearDown() {
   }
 
-  @Test
+  @Test (timeout = 0x15000l)
   public void testNodeBasic() {
     // list
     System.out.println("-list");

http://git-wip-us.apache.org/repos/asf/bigtop/blob/51ede841/bigtop-tests/test-artifacts/hadoop/src/main/groovy/org/apache/bigtop/itest/hadoop/yarn/TestRmAdmin.groovy
----------------------------------------------------------------------
diff --git 
a/bigtop-tests/test-artifacts/hadoop/src/main/groovy/org/apache/bigtop/itest/hadoop/yarn/TestRmAdmin.groovy
 
b/bigtop-tests/test-artifacts/hadoop/src/main/groovy/org/apache/bigtop/itest/hadoop/yarn/TestRmAdmin.groovy
index d8fa74d..5e98a5a 100644
--- 
a/bigtop-tests/test-artifacts/hadoop/src/main/groovy/org/apache/bigtop/itest/hadoop/yarn/TestRmAdmin.groovy
+++ 
b/bigtop-tests/test-artifacts/hadoop/src/main/groovy/org/apache/bigtop/itest/hadoop/yarn/TestRmAdmin.groovy
@@ -42,7 +42,7 @@ public class TestRmAdmin {
   public static void tearDown() {
   }
 
-  @Test
+  @Test (timeout = 0x45000l)
   public void testRmAdminBasic() {
     // help
     System.out.println("-help");
@@ -55,7 +55,7 @@ public class TestRmAdmin {
     assertTrue("-getGroups failed", sh.getRet() == 0);
   }
 
-  @Test
+  @Test (timeout = 0x45000l)
   public void testRmAdminRefreshcommands() {
     // refreshQueues
     System.out.println("-refreshQueues");

Reply via email to