vishesh92 commented on code in PR #9330:
URL: https://github.com/apache/cloudstack/pull/9330#discussion_r1664547562


##########
plugins/database/quota/src/test/java/org/apache/cloudstack/api/response/QuotaResponseBuilderImplTest.java:
##########
@@ -334,7 +334,7 @@ public void 
validateEndDateOnCreatingNewQuotaTariffTestEndDateLessThanNowThrowIn
     @Test
     public void validateEndDateOnCreatingNewQuotaTariffTestSetValidEndDate() {
         Date startDate = DateUtils.addDays(date, -100);
-        Date endDate = DateUtils.addMilliseconds(new Date(), 1);
+        Date endDate = DateUtils.addMinutes(new Date(), 1);

Review Comment:
   this unit test was failing intermittently. I am assuming when the system is 
under load, the current time exceeds the end time resulting in an exception.
   Some builds for reference: 
   * 
https://github.com/apache/cloudstack/actions/runs/9775964949/job/26987520921
   * 
https://github.com/apache/cloudstack/actions/runs/9447661233/job/26063724612
   



-- 
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: commits-unsubscr...@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to