Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for testHalfOpenFailureReopens (0.13 seconds)

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

            assertEquals(State.CLOSED, circuitBreaker.getState(), "Circuit should be CLOSED after success threshold");
        }
    
        @Test
        public void testHalfOpenFailureReopens() throws Exception {
            // Open the circuit
            circuitBreaker.trip();
    
            // Wait for reset timeout
            Thread.sleep(1100);
    
            // First attempt should transition to HALF_OPEN
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 23.2K bytes
    - Click Count (0)
Back to Top