Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for testDynamicThresholdAdjustment (0.14 seconds)

  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 {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 23.2K bytes
    - Click Count (0)
Back to Top