executeWithURL("entity -schedule -type feed -file " + "name"));
}
@Test(enabled = TEST_ENABLED)
public void testInstanceRunningAndStatusCommands() throws Exception {
TestContext context = new TestContext();
Map<String, String> overlay = context.getUniqueOverlay();
submitTestFiles(context, overlay);
Assert.assertEquals(0,
executeWithURL("entity -schedule -type process -name "
+ overlay.get("processName")));
Assert.assertEquals(0,
executeWithURL("entity -schedule -type feed -name "
+ overlay.get("outputFeedName")));
context.waitForProcessWFtoStart();
Assert.assertEquals(0,
executeWithURL("instance -status -type feed -name "
+ overlay.get("outputFeedName")
+ " -start " + START_INSTANCE));