From 60dd63d55fcfb48ab61b03b15dfa1f987dfc61b1 Mon Sep 17 00:00:00 2001 From: Michael Vorburger Date: Mon, 1 Jun 2020 15:41:25 +0200 Subject: [PATCH] executeAndAwaitJob() !executeJob() ClientSavingsIntegrationTest re. FINERACT-852 and FINERACT-922 --- .../integrationtests/ClientSavingsIntegrationTest.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/fineract-provider/src/integrationTest/java/org/apache/fineract/integrationtests/ClientSavingsIntegrationTest.java b/fineract-provider/src/integrationTest/java/org/apache/fineract/integrationtests/ClientSavingsIntegrationTest.java index 29a482895..5c6f8aa11 100755 --- a/fineract-provider/src/integrationTest/java/org/apache/fineract/integrationtests/ClientSavingsIntegrationTest.java +++ b/fineract-provider/src/integrationTest/java/org/apache/fineract/integrationtests/ClientSavingsIntegrationTest.java @@ -54,7 +54,6 @@ import org.joda.time.format.DateTimeFormat; import org.joda.time.format.DateTimeFormatter; import org.junit.Assert; import org.junit.Before; -import org.junit.Ignore; import org.junit.Test; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @@ -1903,7 +1902,6 @@ public class ClientSavingsIntegrationTest { } @Test - @Ignore // TODO FINERACT-852 public void testSavingsAccount_DormancyTracking() throws InterruptedException { this.savingsAccountHelper = new SavingsAccountHelper(this.requestSpec, this.responseSpec); @@ -1968,7 +1966,7 @@ public class ClientSavingsIntegrationTest { } SchedulerJobHelper jobHelper = new SchedulerJobHelper(this.requestSpec); - jobHelper.executeJob("Update Savings Dormant Accounts"); + jobHelper.executeAndAwaitJob("Update Savings Dormant Accounts"); //VERIFY WITHIN PROVIDED RANGE DOESN'T INACTIVATE savingsStatusHashMap = SavingsStatusChecker.getStatusOfSavings(this.requestSpec, this.responseSpec, savingsList.get(0));