You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@falcon.apache.org by ba...@apache.org on 2016/07/28 07:06:51 UTC
falcon git commit: FALCON-2101 Disable IT tests that depend on instance status reaching …
Repository: falcon
Updated Branches:
refs/heads/master f63795155 -> e94dd72fa
FALCON-2101 Disable IT tests that depend on instance status reaching \u2026
\u2026RUNNING state
Author: bvellanki <bv...@hortonworks.com>
Reviewers: "Venkat Ranganathan <ve...@hortonworks.com>,Peeyush B <pb...@hortonworks.com>,Pallavi Rao <pa...@inmobi.com>"
Closes #247 from bvellanki/FALCON-2101
Project: http://git-wip-us.apache.org/repos/asf/falcon/repo
Commit: http://git-wip-us.apache.org/repos/asf/falcon/commit/e94dd72f
Tree: http://git-wip-us.apache.org/repos/asf/falcon/tree/e94dd72f
Diff: http://git-wip-us.apache.org/repos/asf/falcon/diff/e94dd72f
Branch: refs/heads/master
Commit: e94dd72fad805eed25f4d035ffc90e7e71e3dffd
Parents: f637951
Author: bvellanki <bv...@hortonworks.com>
Authored: Thu Jul 28 00:06:47 2016 -0700
Committer: bvellanki <bv...@hortonworks.com>
Committed: Thu Jul 28 00:06:47 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/e94dd72f/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/e94dd72f/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/e94dd72f/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);