Skip to content

Commit

Permalink
Testing
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeffery-Wasty committed Sep 18, 2024
1 parent 16397df commit e8b93e5
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -502,6 +502,8 @@ private void testConnectCountInLoginAndCorrectRetryCount(int connectRetryCount)
assertTrue(totalTime < (longLoginTimeout * 1000L), TestResource.getResource("R_executionTooLong"));
// We should at least take as long as the retry interval between all retries past the first.
int minTimeInSecs = connectRetryInterval * (connectRetryCount - 1);
System.out.println("totalTime: " + totalTime);
System.out.println("minTimeInSecs: " + minTimeInSecs);
assertTrue(totalTime > (minTimeInSecs * 1000L), TestResource.getResource("R_executionNotLong"));
}
}
Expand Down

0 comments on commit e8b93e5

Please sign in to comment.