You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gobblin.apache.org by ab...@apache.org on 2017/07/31 07:53:30 UTC

[72/77] [abbrv] incubator-gobblin git commit: Disable GobblinClusterKillTest until reliability improves

Disable GobblinClusterKillTest until reliability improves


Project: http://git-wip-us.apache.org/repos/asf/incubator-gobblin/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-gobblin/commit/f6092742
Tree: http://git-wip-us.apache.org/repos/asf/incubator-gobblin/tree/f6092742
Diff: http://git-wip-us.apache.org/repos/asf/incubator-gobblin/diff/f6092742

Branch: refs/heads/master
Commit: f6092742f58403f5d09d98df7fd205180d603133
Parents: dd592cc
Author: Abhishek Tiwari <ab...@gmail.com>
Authored: Sun Jul 30 22:13:35 2017 -0700
Committer: Abhishek Tiwari <ab...@gmail.com>
Committed: Sun Jul 30 22:13:35 2017 -0700

----------------------------------------------------------------------
 .../gobblin/cluster/GobblinClusterKillTest.java      | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-gobblin/blob/f6092742/gobblin-cluster/src/test/java/org/apache/gobblin/cluster/GobblinClusterKillTest.java
----------------------------------------------------------------------
diff --git a/gobblin-cluster/src/test/java/org/apache/gobblin/cluster/GobblinClusterKillTest.java b/gobblin-cluster/src/test/java/org/apache/gobblin/cluster/GobblinClusterKillTest.java
index 13bf91e..2c5d53d 100644
--- a/gobblin-cluster/src/test/java/org/apache/gobblin/cluster/GobblinClusterKillTest.java
+++ b/gobblin-cluster/src/test/java/org/apache/gobblin/cluster/GobblinClusterKillTest.java
@@ -56,7 +56,7 @@ import org.testng.annotations.Test;
  *   shutdown request message.
  * </p>
  */
-@Test(groups = { "gobblin.cluster" }, singleThreaded = true)
+// @Test(groups = { "gobblin.cluster" }, singleThreaded = true)
 public class GobblinClusterKillTest {
   public final static Logger LOG = LoggerFactory.getLogger(GobblinClusterKillTest.class);
 
@@ -140,7 +140,7 @@ public class GobblinClusterKillTest {
     _workerStartThreads[id].start();
   }
 
-  @BeforeClass
+  // @BeforeClass
   public void setUp() throws Exception {
     // Use a random ZK port
     _testingZKServer = new TestingServer(-1);
@@ -177,7 +177,8 @@ public class GobblinClusterKillTest {
   }
 
   // The kill tests are unreliable on Travis
-  @Test(groups = { "disabledOnTravis" })
+  // Disabled GobblinClusterKillTest until reliability improves
+  // @Test(groups = { "disabledOnTravis" })
   public void testKillWorker() throws TimeoutException, InterruptedException {
     Collection<File> matches = Collections.EMPTY_LIST;
 
@@ -226,7 +227,8 @@ public class GobblinClusterKillTest {
   }
 
   // The kill tests are unreliable on Travis
-  @Test(groups = { "disabledOnTravis" }, dependsOnMethods = "testKillWorker")
+  // Disabled GobblinClusterKillTest until reliability improves
+  // @Test(groups = { "disabledOnTravis" }, dependsOnMethods = "testKillWorker")
   public void testKillManager() throws IOException, TimeoutException, InterruptedException {
     Collection<File> matches = Collections.EMPTY_LIST;
 
@@ -271,7 +273,8 @@ public class GobblinClusterKillTest {
   }
 
   // The kill tests are unreliable on Travis
-  @Test(groups = { "disabledOnTravis" }, enabled=true, dependsOnMethods = "testKillManager")
+  // Disabled GobblinClusterKillTest until reliability improves
+  // @Test(groups = { "disabledOnTravis" }, enabled=true, dependsOnMethods = "testKillManager")
   public void testRestartManager() throws IOException, TimeoutException, InterruptedException {
     Collection<File> matches = Collections.EMPTY_LIST;
     // reinitialize test directory
@@ -319,7 +322,7 @@ public class GobblinClusterKillTest {
         }, "Waiting for job-completion");
   }
 
-  @AfterClass
+  // @AfterClass
   public void tearDown() throws IOException, InterruptedException {
 
     for (int i = 0; i < NUM_MANAGERS; i++) {