- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for testConcurrentAccess (0.08 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/test/java/jcifs/internal/smb2/multichannel/ChannelManagerTest.java
// Expected in test environment without proper server setup } assertDoesNotThrow(() -> channelManager.shutdown()); } @Test void testConcurrentAccess() throws InterruptedException { // Test thread safety Thread[] threads = new Thread[10]; for (int i = 0; i < threads.length; i++) { threads[i] = new Thread(() -> {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 11:13:46 GMT 2025 - 7.6K bytes - Click Count (0) -
src/test/java/jcifs/smb1/util/LogStreamTest.java
logStream.close(); // After close, the stream should not accept more writes // but PrintStream doesn't throw exceptions on write after close } @Test void testConcurrentAccess() throws InterruptedException { // Test thread safety of getInstance LogStream.setInstance(testStream); final LogStream[] instances = new LogStream[10];
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.3K bytes - Click Count (0)