[
https://issues.apache.org/jira/browse/FINERACT-2584?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Adam Saghy resolved FINERACT-2584.
----------------------------------
Fix Version/s: 1.15.0
Resolution: Fixed
> Reduce test flakiness in Working Capital Loans by generating unique strings
> ---------------------------------------------------------------------------
>
> Key: FINERACT-2584
> URL: https://issues.apache.org/jira/browse/FINERACT-2584
> Project: Apache Fineract
> Issue Type: Improvement
> Reporter: Edward Kang
> Assignee: Edward Kang
> Priority: Minor
> Fix For: 1.15.0
>
>
> Occasionally tests seem to break due to conflicting product short names in
> the Working Capital Loans tests.
> Instead of using UUID generator, we should be using the existing
> Utils.uniqueRandomStringGenerator() to check for existing short names before
> assigning. This is because the UUID generator doesn't actually do a
> deduplication check. This change should prevent collisions and help out with
> CI/CD flakiness.
> Test classes to be modified:
> WorkingCapitalLoanProductCRUDTest
> WorkingCapitalLoanProductValidationTest
> WorkingCapitalLoanApplicationValidationTest
> WorkingCapitalLoanApplicationCRUDTest
> WorkingCapitalLoanDisbursementTest
> WorkingCapitalLoanApprovalRejectionTest
> WorkingCapitalLoanDelinquencyRangeScheduleIntegrationTest
--
This message was sent by Atlassian Jira
(v8.20.10#820010)