- Sort Score
- Result 10 results
- Languages All
Results 201 - 210 of 247 for InterruptedException (0.77 sec)
-
fess-crawler/src/test/java/org/codelibs/fess/crawler/filter/UrlFilterTest.java
assertFalse(urlFilter.match("mailto:******@****.***")); } /** * Test concurrent pattern additions */ public void test_concurrentPatternAdditions() throws InterruptedException { String sessionId = "test-session-023"; urlFilter.init(sessionId); // Create multiple threads adding patterns Thread thread1 = new Thread(() -> {
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Wed Sep 03 14:42:53 UTC 2025 - 19K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/RelatedQueryHelperTest.java
mockBhv.setTestData(testData); relatedQueryHelper.update(); // Give a moment for async execution try { Thread.sleep(100); } catch (InterruptedException e) { // ignore } results = relatedQueryHelper.getRelatedQueries("test"); assertEquals("updated", results[0]); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 16.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockResponseTest.java
// Then assertEquals(4, bytesRead); } @Test @DisplayName("Should handle concurrent access safely") void testConcurrentAccess() throws InterruptedException { // Given int threadCount = 10; Thread[] threads = new Thread[threadCount]; boolean[] success = new boolean[threadCount];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/RelatedContentHelperTest.java
mockBhv.setTestData(testData); relatedContentHelper.update(); // Give a moment for async execution try { Thread.sleep(100); } catch (InterruptedException e) { // ignore } results = relatedContentHelper.getRelatedContents("test"); assertEquals("Updated Content", results[0]); } // Helper methods
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 14.3K bytes - Viewed (0) -
src/test/java/jcifs/SmbSessionTest.java
verify(mockSession, times(10)).getConfig(); } @Test @DisplayName("Should handle concurrent access patterns") void shouldHandleConcurrentAccessPatterns() throws InterruptedException { SmbSession mockSession = mock(SmbSession.class); Configuration mockConfig = mock(Configuration.class); when(mockSession.getConfig()).thenReturn(mockConfig);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileInputStreamTest.java
@DisplayName("seToIoe maps Interrupted cause to InterruptedIOException") void seToIoeInterruptedMapping() { SmbException se = new SmbException("x", new jcifs.util.transport.TransportException(new InterruptedException("boom"))); IOException ioe = SmbFileInputStream.seToIoe(se); assertTrue(ioe instanceof InterruptedIOException); assertTrue(ioe.getMessage().contains("boom")); } }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.8K bytes - Viewed (0) -
docs/smb3-features/06-witness-protocol-design.md
// Wait briefly for witness notification before retrying try { Thread.sleep(2000); // 2 second grace period } catch (InterruptedException e) { Thread.currentThread().interrupt(); } } // Proceed with normal error handling/retry super.handleConnectionLoss(error); } ``` ## 6. Configuration
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 42K bytes - Viewed (0) -
src/test/java/jcifs/EmptyIteratorTest.java
}, "EmptyIterator should work with manual iteration"); } @Test @DisplayName("EmptyIterator should handle concurrent access safely") void testConcurrentAccess() throws InterruptedException, CIFSException { // Given final int threadCount = 10; final Thread[] threads = new Thread[threadCount]; final boolean[] results = new boolean[threadCount];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeTest.java
assertEquals(0, transPeekNamedPipe.writeDataWireFormat(buffer, 20)); } @Test @DisplayName("Should handle concurrent access to toString") void testToStringConcurrency() throws InterruptedException { // Arrange transPeekNamedPipe = new TransPeekNamedPipe(mockConfig, TEST_PIPE_NAME, TEST_FID); String[] results = new String[10]; Thread[] threads = new Thread[10];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java
if (root instanceof TransportException) { ioe = (TransportException) root; root = ((TransportException) ioe).getRootCause(); } if (root instanceof InterruptedException) { ioe = new InterruptedIOException(root.getMessage()); ioe.initCause(root); } return ioe; } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 9.4K bytes - Viewed (0)