- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 110 for failure (0.11 sec)
-
src/test/java/jcifs/util/SmbCircuitBreakerTest.java
throw new RuntimeException("Failure in half-open"); }); fail("Should have thrown exception"); } catch (CIFSException e) { // Expected - failure in HALF_OPEN should reopen circuit } assertEquals(State.OPEN, circuitBreaker.getState(), "Circuit should reopen after failure in HALF_OPEN"); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 23.2K bytes - Viewed (0) -
src/main/java/jcifs/util/SmbCircuitBreaker.java
} /** * Get current failure threshold (may be dynamically adjusted) * * @return current failure threshold */ public int getCurrentFailureThreshold() { return failureThreshold; } /** * Update failure threshold (for dynamic adjustment) * * @param newThreshold the new failure threshold */Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 33.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtStatus.java
"Logon failure: unknown user name or bad password.", "Logon failure: user account restriction.", "Logon failure: account logon time restriction violation.", "Logon failure: user not allowed to log on to this computer.", "Logon failure: the specified account password has expired.", "Logon failure: account currently disabled.",Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 14.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/DirectoryChangeNotifier.java
int failures = getFailureCount(handle); // Base interval starts at 1 second, increases with failures // Max interval is 30 seconds for inactive directories return Math.min(MAX_POLL_INTERVAL, BASE_POLL_INTERVAL + (failures * 2000)); } /** * Get failure count for a handle * * @param handle notification handle
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 13.7K bytes - Viewed (0) -
cmd/dynamic-timeouts_test.go
initial := timeout.Timeout() for range dynamicTimeoutLogSize { timeout.LogFailure() } adjusted := timeout.Timeout() if initial >= adjusted { t.Errorf("Failure to increase timeout, expected %v to be more than %v", adjusted, initial) } } func TestDynamicTimeoutDualIncrease(t *testing.T) { timeout := newDynamicTimeout(time.Minute, time.Second) initial := timeout.Timeout()
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 5.2K bytes - Viewed (0) -
src/archive/tar/strconv_test.go
var p parser got := p.parseNumeric([]byte(v.in)) ok := (p.err == nil) if ok != v.ok { if v.ok { t.Errorf("parseNumeric(%q): got parsing failure, want success", v.in) } else { t.Errorf("parseNumeric(%q): got parsing success, want failure", v.in) } } if ok && got != v.want { t.Errorf("parseNumeric(%q): got %d, want %d", v.in, got, v.want) } } }
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon Sep 08 17:08:20 UTC 2025 - 15K bytes - Viewed (0) -
src/test/java/jcifs/util/SimpleCircuitBreakerTest.java
@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 { circuitBreaker.call(() -> { throw new RuntimeException("Test failure"); });Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 10.6K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NameServiceClientImplTest.java
// Verify the exception message indicates name resolution failure assertTrue(exception.getMessage().contains("NONEXISTENT") || exception.getMessage().contains("unknown") || exception.getMessage().contains("not found"), "Exception message should indicate name resolution failure"); } @Test @DisplayName("Should handle NetBIOS name with type and scope with timeout")Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 11K bytes - Viewed (0) -
okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceRecorder.kt
get().log("[ES] onClosed", Platform.INFO, null) events.add(Closed) drainCancelQueue(eventSource) } override fun onFailure( eventSource: EventSource, t: Throwable?, response: Response?, ) { get().log("[ES] onFailure", Platform.INFO, t) events.add(Failure(t, response, t?.message ?: response?.body?.string())) drainCancelQueue(eventSource) }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 30 11:32:52 UTC 2025 - 3.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/NtStatus.java
"Logon failure: unknown user name or bad password.", "Logon failure: user account restriction.", "Logon failure: account logon time restriction violation.", "Logon failure: user not allowed to log on to this computer.", "Logon failure: the specified account password has expired.", "Logon failure: account currently disabled.",Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 13.2K bytes - Viewed (0)