diff --git a/fineract-provider/src/integrationTest/java/org/apache/fineract/integrationtests/SchedulerJobsTest.java b/fineract-provider/src/integrationTest/java/org/apache/fineract/integrationtests/SchedulerJobsTest.java index 288dcad10fc..6812198da63 100644 --- a/fineract-provider/src/integrationTest/java/org/apache/fineract/integrationtests/SchedulerJobsTest.java +++ b/fineract-provider/src/integrationTest/java/org/apache/fineract/integrationtests/SchedulerJobsTest.java @@ -29,6 +29,7 @@ import org.apache.fineract.integrationtests.common.Utils; import org.junit.Assert; import org.junit.Before; +import org.junit.Ignore; import org.junit.Test; @SuppressWarnings({ "rawtypes", "unchecked", "static-access" }) @@ -50,6 +51,7 @@ public void setup() { } @Test + @Ignore // TODO FINERACT-852 public void testSchedulerJobs() throws InterruptedException { this.schedulerJobHelper = new SchedulerJobHelper(this.requestSpec, this.responseSpec); @@ -91,8 +93,8 @@ public void testSchedulerJobs() throws InterruptedException { // Updating Scheduler Job HashMap changes = this.schedulerJobHelper.updateSchedulerJob(this.requestSpec, this.responseSpec, jobId.toString(), active.toString()); - // Verifying Scheduler Job updation - Assert.assertEquals("Verifying Scheduler Job Updation", active, changes.get("active")); + // Verifying Scheduler Job updates + Assert.assertEquals("Verifying Scheduler Job Updates", active, changes.get("active")); // Executing Scheduler Job this.schedulerJobHelper.runSchedulerJob(this.requestSpec, jobId.toString()); @@ -112,10 +114,9 @@ public void testSchedulerJobs() throws InterruptedException { jobId.toString()); // Verifying the Status of the Recently executed Scheduler Job + Assert.assertFalse("Job History is empty :( Was it too slow? Failures in background job?", jobHistoryData.isEmpty()); Assert.assertEquals("Verifying Last Scheduler Job Status", "success", jobHistoryData.get(jobHistoryData.size() - 1).get("status")); } - } - } \ No newline at end of file