- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 205 for occurred (0.03 sec)
-
src/test/java/jcifs/smb/SmbSessionImplTest.java
RuntimeException ex = assertThrows(RuntimeCIFSException.class, session::release); assertTrue(ex.getMessage().contains("below zero")); // Only one transport release should have occurred verify(transport, times(1)).release(); } @Test @DisplayName("acquire after release reacquires transport") void testAcquireReacquiresTransport() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
cmd/prepare-storage.go
peersLogAlwaysIf(ctx, err) return } } // Once is set and we are here means error was already // printed once. if once { return } // once not set, check if same error occurred 3 times in // a row, then make sure we print it to call attention. if m[err.Error()] > 2 { peersLogAlwaysIf(ctx, fmt.Errorf("Following error has been printed %d times.. %w", m[err.Error()], err))
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Jul 12 20:51:54 UTC 2024 - 11.1K bytes - Viewed (1) -
src/test/java/org/codelibs/fess/helper/ProcessHelperTest.java
Set<String> sessionIds = processHelper.getRunningSessionIdSet(); // Since echo commands complete quickly, we may not catch them running // Just verify no exceptions occurred // Clean up processHelper.destroyProcess(sessionId1); processHelper.destroyProcess(sessionId2); // Test passes if no exceptions thrown
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 05:35:01 UTC 2025 - 15.1K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt
* `e` is recoverable, or false if the failure is permanent. Requests with a body can only * be recovered if the body is buffered or if the failure occurred before the request has been * sent. */ private fun recover( e: IOException, call: RealCall, userRequest: Request, ): Boolean {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue May 27 14:58:02 UTC 2025 - 12.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbOperationExceptionTest.java
SmbOperationException.RetryPolicy policy = new SmbOperationException.RetryPolicy(3, 1000, 10000, 2.0, true); exception = new SmbOperationException(SmbOperationException.ErrorCode.CONNECTION_TIMEOUT, "Timeout occurred", null, policy, null); // When/Then - Should retry for attempts 1 and 2 assertTrue(exception.shouldRetry(1)); assertTrue(exception.shouldRetry(2));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.1K bytes - Viewed (0) -
src/test/java/jcifs/SidResolverTest.java
} // Test with network errors @Test void testResolveSids_NetworkError() throws CIFSException { doThrow(new CIFSException("Network error occurred")).when(sidResolver) .resolveSids(any(CIFSContext.class), anyString(), any(SID[].class)); assertThrows(CIFSException.class, () -> sidResolver.resolveSids(mockContext, testServerName, testSids));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 15.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/witness/WitnessClient.java
/** * Called when a witness registration fails. * * @param registration the failed registration * @param error the error that occurred */ void onRegistrationFailed(WitnessRegistration registration, Exception error); /** * Called when a witness registration expires. *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 20.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComTreeDisconnectTest.java
for (Thread thread : threads) { thread.join(); } // Then - no exceptions should have been thrown assertTrue(true); // If we reach here, no exceptions occurred } /** * Test consistency across multiple calls */ @Test @DisplayName("Test consistency across multiple calls") public void testConsistencyAcrossMultipleCalls() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.5K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/exception/CrawlerSystemExceptionTest.java
/** * Test constructor with message and cause */ public void test_constructor_withMessageAndCause() { String message = "Custom error message"; Exception cause = new IOException("IO error occurred"); CrawlerSystemException exception = new CrawlerSystemException(message, cause); assertNotNull(exception); assertEquals(message, exception.getMessage());
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Wed Sep 03 14:42:53 UTC 2025 - 20K bytes - Viewed (0) -
cmd/erasure-metadata-utils.go
if maxCnt < count { maxCnt = count dataDir = ddir } } if maxCnt >= writeQuorum { return dataDir } return "" } // Returns number of errors that occurred the most (incl. nil) and the // corresponding error value. NB When there is more than one error value that // occurs maximum number of times, the error value returned depends on how
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 11.7K bytes - Viewed (0)