Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testCircuitResetsAfterTimeout (0.21 sec)

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

            assertTrue(exception.getMessage().contains("Circuit breaker 'test' is open"), "Exception message should indicate circuit is open");
        }
    
        @Test
        public void testCircuitResetsAfterTimeout() throws Exception {
            // Open the circuit
            circuitBreaker.trip();
            assertEquals(State.OPEN, circuitBreaker.getState(), "Circuit should be OPEN");
    
            // Wait for reset timeout
    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