This is an automated email from the ASF dual-hosted git repository. arnold pushed a commit to branch develop in repository https://gitbox.apache.org/repos/asf/fineract.git
commit f412ee7529f7bb47ba4ecdf12ad0e33a61edbe37 Author: Arnold Galovics <[email protected]> AuthorDate: Fri Jul 7 14:30:07 2023 +0200 Integration test fix --- .github/workflows/build-docker-postgresql.yml | 2 +- .../bulkimport/importhandler/loan/LoanImportHandlerTest.java | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-docker-postgresql.yml b/.github/workflows/build-docker-postgresql.yml index 87e89f59c..ee531b85a 100644 --- a/.github/workflows/build-docker-postgresql.yml +++ b/.github/workflows/build-docker-postgresql.yml @@ -24,7 +24,7 @@ jobs: - name: Start the stack run: docker-compose -f docker-compose-postgresql.yml up -d - name: Wait for stack to come up - run: sleep 120 + run: sleep 300 - name: Check health run: curl -f -k --retry 10 --retry-connrefused --connect-timeout 30 --retry-delay 30 https://localhost:8443/fineract-provider/actuator/health - name: Check info diff --git a/integration-tests/src/test/java/org/apache/fineract/integrationtests/bulkimport/importhandler/loan/LoanImportHandlerTest.java b/integration-tests/src/test/java/org/apache/fineract/integrationtests/bulkimport/importhandler/loan/LoanImportHandlerTest.java index 6f61e84e1..674b4273f 100644 --- a/integration-tests/src/test/java/org/apache/fineract/integrationtests/bulkimport/importhandler/loan/LoanImportHandlerTest.java +++ b/integration-tests/src/test/java/org/apache/fineract/integrationtests/bulkimport/importhandler/loan/LoanImportHandlerTest.java @@ -218,8 +218,7 @@ public class LoanImportHandlerTest { firstLoanRow.createCell(LoanConstants.LOAN_COLLATERAL_QUANTITY).setCellValue(collaterals.get(0).get("quantity").toString()); firstLoanRow.createCell(LoanConstants.CHARGE_NAME_1).setCellValue(disbursementChargeJSON.getString("name")); firstLoanRow.createCell(LoanConstants.CHARGE_AMOUNT_1).setCellValue(disbursementChargeJSON.getFloat("amount")); - firstLoanRow.createCell(LoanConstants.CHARGE_AMOUNT_TYPE_1) - .setCellValue(disbursementChargeJSON.getString("chargeCalculationType.value")); + firstLoanRow.createCell(LoanConstants.CHARGE_AMOUNT_TYPE_1).setCellValue(disbursementChargeJSON.getString("chargeCalculationType")); String currentdirectory = new File("").getAbsolutePath(); File directory = new File(currentdirectory + File.separator + "src" + File.separator + "integrationTest" + File.separator
