Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testDynamicThresholdAdjustment (2.03 sec)

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

            assertTrue(afterResetTime >= 50, "Time should have reset");
            assertTrue(afterResetTime < 100, "Time should be reasonable");
        }
    
        @Test
        public void testDynamicThresholdAdjustment() {
            // Create circuit breaker with dynamic threshold enabled
            SmbCircuitBreaker dynamicCircuitBreaker = new SmbCircuitBreaker("dynamic-test", 5, 2, 1000, 3, true, false, 100);
    
            try {
    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