nidhiii128 commented on code in PR #5564:
URL: https://github.com/apache/fineract/pull/5564#discussion_r2876048243


##########
integration-tests/src/test/java/org/apache/fineract/integrationtests/common/Utils.java:
##########
@@ -591,7 +591,7 @@ public static String randomDateTimeGenerator(String 
dateFormat) {
     }
 
     private static int getYear() {
-        return 1000 + random.nextInt(1001);
+        return 2000 + random.nextInt(31);

Review Comment:
   hii @meonkeys The change to the year range (2000 + random.nextInt(31)) was 
necessary because the previous range was generating very old dates that caused 
validation failures/consistency issues during the Postgres 18 upgrade tests.



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to