fineract-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <>
Subject [GitHub] [fineract] awasum commented on a change in pull request #807: FINERACT-730: Fixing bootRun and removing embedded Tomcat
Date Sun, 03 May 2020 16:19:15 GMT

awasum commented on a change in pull request #807:

File path: fineract-provider/src/integrationTest/java/org/apache/fineract/integrationtests/common/
@@ -115,6 +115,9 @@ public void executeJob(String jobName) throws InterruptedException {
                 // Executing Scheduler Job
                 runSchedulerJob(this.requestSpec, jobId.toString());
+                // Need to give the job an opportunity to start - otherwise below might return
false as job not yet started
+                Thread.sleep(15000);

Review comment:
       @ptuomola, I am looking into it but I cannot seem to replicate the issue locally as
when running ```./gradlew integrationTest --tests ClientSavingsIntegrationTest ``` 
   Everything passes locally. Could it be that our Travis Vm is not powerful enough?
   If you have time to get this done earlier than me. Do it.
   My fix for FINERACT-855 involved doing something like this where we are accessing the
   ``` Assert.assertEquals("Verifying Last Scheduler Job Status", "success",
                           jobHistoryData.get(jobHistoryData.size() == 0 ? jobHistoryData.size()
: jobHistoryData.size() - 1).get("status")); ``` 
   So that we stop getting the ArrayOutOfBounceException.
   That may not be a good solution.

This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:

View raw message