Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testMixedPattern (0.46 sec)

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

            assertTrue(str.contains("CLOSED"));
            assertTrue(str.contains("100.00%"));
        }
    
        @Test
        @DisplayName("Test mixed success and failure pattern")
        void testMixedPattern() throws Exception {
            // Success
            circuitBreaker.call(() -> "success");
    
            // Two failures (not enough to open)
            for (int i = 0; i < 2; i++) {
                try {
    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