- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for testConstantBackoff (3.67 sec)
-
src/test/java/jcifs/smb/SmbOperationExceptionTest.java
assertEquals(5000, delay4); // Capped at max assertEquals(5000, delay10); // Still capped } @Test @DisplayName("Should handle non-exponential backoff") void testConstantBackoff() { // Given SmbOperationException.RetryPolicy policy = new SmbOperationException.RetryPolicy(5, 2000, 10000, 1.0, false); // When long delay1 = policy.getDelayMs(1);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.1K bytes - Viewed (0)