Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testMaxDelayLimit (0.06 sec)

  1. src/test/java/jcifs/smb/SmbOperationExceptionTest.java

            assertEquals(1.0, noRetryPolicy.getBackoffMultiplier());
            assertFalse(noRetryPolicy.isExponentialBackoff());
        }
    
        @Test
        @DisplayName("Should limit retry delay to maximum")
        void testMaxDelayLimit() {
            // Given
            SmbOperationException.RetryPolicy policy = new SmbOperationException.RetryPolicy(10, 1000, 5000, 2.0, true);
    
            // When - Calculate delays for increasing attempts
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.1K bytes
    - Viewed (0)
Back to top