Skip to content

Commit 9153831

Browse files
nhachichastIncMale
andauthored
Update driver-core/src/test/unit/com/mongodb/internal/time/ExponentialBackoffTest.java
Co-authored-by: Valentin Kovalenko <valentin.male.kovalenko@gmail.com>
1 parent 9676ff0 commit 9153831

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

driver-core/src/test/unit/com/mongodb/internal/time/ExponentialBackoffTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ void testCalculateTransactionBackoffMs() {
3636
long backoff = ExponentialBackoff.calculateTransactionBackoffMs(attemptNumber);
3737
long expectedBackoff = Math.round(EXPECTED_BACKOFFS_MAX_VALUES[attemptNumber - 1]);
3838
assertTrue(backoff >= 0 && backoff <= expectedBackoff,
39-
String.format("Attempt %d: backoff should be 0-%d ms, got: %d", attemptNumber,
39+
String.format("Attempt %d: backoff should be between 0 ms and %d ms, got: %d", attemptNumber,
4040
expectedBackoff, backoff));
4141
}
4242
}

0 commit comments

Comments
 (0)