@Test(enabled = TEST_ENABLED)
public void testSuspendResumeStatusEntityValidCommands() throws Exception {
Thread.sleep(5000);
TestContext context = new TestContext();
Map<String, String> overlay = context.getUniqueOverlay();
submitTestFiles(context, overlay);
Assert.assertEquals(
0,
executeWithURL("entity -status -type feed -name "
+ overlay.get("outputFeedName")));
Assert.assertEquals(
0,
executeWithURL("entity -status -type process -name "
+ overlay.get("processName")));
Assert.assertEquals(
0,
executeWithURL("entity -schedule -type feed -name "
+ overlay.get("outputFeedName")));
Assert.assertEquals(0,
executeWithURL("entity -schedule -type process -name "
+ overlay.get("processName")));
context.waitForProcessWFtoStart();
Assert.assertEquals(
0,
executeWithURL("entity -suspend -type feed -name "
+ overlay.get("outputFeedName")));