falcon-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b...@apache.org
Subject falcon git commit: FALCON-2101 Disable IT tests that depend on instance status reaching …
Date Thu, 28 Jul 2016 07:07:01 GMT
Repository: falcon
Updated Branches:
  refs/heads/0.10 89b09ef67 -> f88e21a0e


FALCON-2101 Disable IT tests that depend on instance status reaching …

…RUNNING state

Author: bvellanki <bvellanki@hortonworks.com>

Reviewers: "Venkat Ranganathan <venkat@hortonworks.com>,Peeyush B <pbishnoi@hortonworks.com>,Pallavi
Rao <pallavi.rao@inmobi.com>"

Closes #247 from bvellanki/FALCON-2101

(cherry picked from commit e94dd72fad805eed25f4d035ffc90e7e71e3dffd)
Signed-off-by: bvellanki <bvellanki@hortonworks.com>


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

Branch: refs/heads/0.10
Commit: f88e21a0eeca706e8ce25c03e76d1e5d94cc401c
Parents: 89b09ef
Author: bvellanki <bvellanki@hortonworks.com>
Authored: Thu Jul 28 00:06:47 2016 -0700
Committer: bvellanki <bvellanki@hortonworks.com>
Committed: Thu Jul 28 00:06:57 2016 -0700

----------------------------------------------------------------------
 .../apache/falcon/resource/ExtensionManagerIT.java  |  2 +-
 .../resource/InstanceSchedulerManagerJerseyIT.java  | 12 ++++++------
 .../falcon/resource/ProcessInstanceManagerIT.java   | 16 ++++++++--------
 3 files changed, 15 insertions(+), 15 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/falcon/blob/f88e21a0/webapp/src/test/java/org/apache/falcon/resource/ExtensionManagerIT.java
----------------------------------------------------------------------
diff --git a/webapp/src/test/java/org/apache/falcon/resource/ExtensionManagerIT.java b/webapp/src/test/java/org/apache/falcon/resource/ExtensionManagerIT.java
index e14bbd8..6efe884 100644
--- a/webapp/src/test/java/org/apache/falcon/resource/ExtensionManagerIT.java
+++ b/webapp/src/test/java/org/apache/falcon/resource/ExtensionManagerIT.java
@@ -58,7 +58,7 @@ public class ExtensionManagerIT extends AbstractTestExtensionStore {
         TestContext.deleteEntitiesFromStore();
     }
 
-    @Test
+    @Test (enabled = false)
     public void testTrustedExtensionJob() throws Exception {
         Map<String, String> overlay = context.getUniqueOverlay();
         String endTime = context.getProcessEndTime();

http://git-wip-us.apache.org/repos/asf/falcon/blob/f88e21a0/webapp/src/test/java/org/apache/falcon/resource/InstanceSchedulerManagerJerseyIT.java
----------------------------------------------------------------------
diff --git a/webapp/src/test/java/org/apache/falcon/resource/InstanceSchedulerManagerJerseyIT.java
b/webapp/src/test/java/org/apache/falcon/resource/InstanceSchedulerManagerJerseyIT.java
index 2dd5fbe..00dbf7a 100644
--- a/webapp/src/test/java/org/apache/falcon/resource/InstanceSchedulerManagerJerseyIT.java
+++ b/webapp/src/test/java/org/apache/falcon/resource/InstanceSchedulerManagerJerseyIT.java
@@ -41,7 +41,7 @@ public class InstanceSchedulerManagerJerseyIT extends AbstractSchedulerManagerJe
         super.setup();
     }
 
-    @Test
+    @Test (enabled = false)
     public void testProcessInstanceExecution() throws Exception {
         UnitTestContext context = new UnitTestContext();
         Map<String, String> overlay = context.getUniqueOverlay();
@@ -65,7 +65,7 @@ public class InstanceSchedulerManagerJerseyIT extends AbstractSchedulerManagerJe
 
     }
 
-    @Test
+    @Test (enabled = false)
     public void testKillAndRerunInstances() throws Exception {
         UnitTestContext context = new UnitTestContext();
         Map<String, String> overlay = context.getUniqueOverlay();
@@ -99,7 +99,7 @@ public class InstanceSchedulerManagerJerseyIT extends AbstractSchedulerManagerJe
 
     }
 
-    @Test
+    @Test (enabled = false)
     public void testSuspendResumeInstances() throws Exception {
         UnitTestContext context = new UnitTestContext();
         Map<String, String> overlay = context.getUniqueOverlay();
@@ -129,7 +129,7 @@ public class InstanceSchedulerManagerJerseyIT extends AbstractSchedulerManagerJe
                 START_INSTANCE, InstancesResult.WorkflowStatus.RUNNING);
     }
 
-    @Test
+    @Test (enabled = false)
     public void testListInstances() throws Exception {
         UnitTestContext context = new UnitTestContext();
         Map<String, String> overlay = context.getUniqueOverlay();
@@ -150,7 +150,7 @@ public class InstanceSchedulerManagerJerseyIT extends AbstractSchedulerManagerJe
         Assert.assertEquals(result.getInstances()[2].getInstance(), START_INSTANCE);
     }
 
-    @Test
+    @Test (enabled = false)
     public void testInstanceSummary() throws Exception {
         UnitTestContext context = new UnitTestContext();
         Map<String, String> overlay = context.getUniqueOverlay();
@@ -174,7 +174,7 @@ public class InstanceSchedulerManagerJerseyIT extends AbstractSchedulerManagerJe
         Assert.assertEquals(result.getInstancesSummary()[0].getSummaryMap().get("READY").longValue(),
1L);
     }
 
-    @Test
+    @Test (enabled = false)
     public void testProcessWithInputs() throws Exception {
         UnitTestContext context = new UnitTestContext();
         Map<String, String> overlay = context.getUniqueOverlay();

http://git-wip-us.apache.org/repos/asf/falcon/blob/f88e21a0/webapp/src/test/java/org/apache/falcon/resource/ProcessInstanceManagerIT.java
----------------------------------------------------------------------
diff --git a/webapp/src/test/java/org/apache/falcon/resource/ProcessInstanceManagerIT.java
b/webapp/src/test/java/org/apache/falcon/resource/ProcessInstanceManagerIT.java
index 2e8cd4a..37f8b99 100644
--- a/webapp/src/test/java/org/apache/falcon/resource/ProcessInstanceManagerIT.java
+++ b/webapp/src/test/java/org/apache/falcon/resource/ProcessInstanceManagerIT.java
@@ -72,7 +72,7 @@ public class ProcessInstanceManagerIT extends AbstractSchedulerManagerJerseyIT
{
         OozieTestUtils.waitForProcessWFtoStart(context);
     }
 
-    //@Test
+    @Test (enabled = false)
     public void testGetRunningInstances() throws Exception {
         TestContext context = new TestContext();
         schedule(context);
@@ -87,7 +87,7 @@ public class ProcessInstanceManagerIT extends AbstractSchedulerManagerJerseyIT
{
         assertInstance(response.getInstances()[0], START_INSTANCE, WorkflowStatus.RUNNING);
     }
 
-    //@Test
+    @Test (enabled = false)
     public void testGetRunningInstancesPagination()  throws Exception {
         TestContext context = new TestContext();
         schedule(context, 4);
@@ -118,7 +118,7 @@ public class ProcessInstanceManagerIT extends AbstractSchedulerManagerJerseyIT
{
         Assert.assertEquals(processInstance.getStatus(), status);
     }
 
-    @Test
+    @Test (enabled = false)
     public void testGetInstanceStatus() throws Exception {
         UnitTestContext context = new UnitTestContext();
         schedule(context);
@@ -132,7 +132,7 @@ public class ProcessInstanceManagerIT extends AbstractSchedulerManagerJerseyIT
{
         Assert.assertEquals(response.getInstances()[0].getStatus(), WorkflowStatus.RUNNING);
     }
 
-    @Test
+    @Test (enabled = false)
     public void testGetInstanceStatusPagination() throws Exception {
         UnitTestContext context = new UnitTestContext();
         schedule(context);
@@ -147,7 +147,7 @@ public class ProcessInstanceManagerIT extends AbstractSchedulerManagerJerseyIT
{
         Assert.assertEquals(response.getInstances()[0].getStatus(), WorkflowStatus.RUNNING);
     }
 
-    @Test
+    @Test (enabled = false)
     public void testKillInstances() throws Exception {
         UnitTestContext context = new UnitTestContext();
         schedule(context);
@@ -173,7 +173,7 @@ public class ProcessInstanceManagerIT extends AbstractSchedulerManagerJerseyIT
{
         Assert.assertEquals(response.getInstances()[0].getStatus(), WorkflowStatus.KILLED);
     }
 
-    @Test
+    @Test (enabled = false)
     public void testReRunInstances() throws Exception {
         UnitTestContext context = new UnitTestContext();
         schedule(context);
@@ -202,7 +202,7 @@ public class ProcessInstanceManagerIT extends AbstractSchedulerManagerJerseyIT
{
         Assert.assertEquals(response.getInstances()[0].getStatus(), WorkflowStatus.RUNNING);
     }
 
-    @Test
+    @Test (enabled = false)
     public void testSuspendInstances() throws Exception {
         UnitTestContext context = new UnitTestContext();
         schedule(context);
@@ -221,7 +221,7 @@ public class ProcessInstanceManagerIT extends AbstractSchedulerManagerJerseyIT
{
         Assert.assertEquals(response.getInstances()[0].getStatus(), WorkflowStatus.SUSPENDED);
     }
 
-    @Test
+    @Test (enabled = false)
     public void testResumesInstances() throws Exception {
         UnitTestContext context = new UnitTestContext();
         schedule(context);


Mime
View raw message