diff --git a/unit/src/test/java/org/apache/falcon/unit/TestFalconUnit.java b/unit/src/test/java/org/apache/falcon/unit/TestFalconUnit.java index 72280f713..06e547c7b 100644 --- a/unit/src/test/java/org/apache/falcon/unit/TestFalconUnit.java +++ b/unit/src/test/java/org/apache/falcon/unit/TestFalconUnit.java @@ -482,7 +482,10 @@ public void testExtensionJobOperations() throws Exception { assertStatus(apiResult); String processes = new JSONObject(getExtensionJobDetails(TEST_JOB).getMessage()).get("processes").toString(); - Assert.assertEquals(processes, "sample"); + JSONObject processObject = new JSONObject(); + processObject.put("sample", "EXISTS"); + + Assert.assertEquals(processes, processObject.toString()); process = (Process) getClient().getDefinition(EntityType.PROCESS.toString(), "sample", null); Assert.assertEquals(process.getPipelines(), "testSample");