Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testCircuitClosesAfterSuccessThreshold (0.18 sec)

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

            assertEquals(SimpleCircuitBreaker.State.HALF_OPEN, circuitBreaker.getState());
        }
    
        @Test
        @DisplayName("Test circuit closes after success threshold in HALF_OPEN")
        void testCircuitClosesAfterSuccessThreshold() throws Exception {
            // Open the circuit
            circuitBreaker.tripBreaker();
    
            // Wait for timeout
            Thread.sleep(150);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 10.6K bytes
    - Viewed (0)
Back to top