Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testHalfOpenMaxAttempts (0.15 sec)

  1. src/test/java/jcifs/util/SmbCircuitBreakerTest.java

            assertTrue(successCount.get() > 0, "Should have some successful operations");
            assertTrue(failureCount.get() > 0, "Should have some failed operations");
        }
    
        @Test
        public void testHalfOpenMaxAttempts() throws Exception {
            // Open circuit
            circuitBreaker.trip();
    
            // Wait for reset timeout
            Thread.sleep(1100);
    
            // First success should transition to HALF_OPEN
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 23.2K bytes
    - Viewed (0)
Back to top