Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testConcurrentFailureHandling (0.72 sec)

  1. src/test/java/jcifs/internal/smb2/multichannel/ChannelFailoverTest.java

        @Test
        void testShutdown() {
            failover.shutdown();
    
            // Should not throw any exceptions
            assertDoesNotThrow(() -> failover.shutdown());
        }
    
        @Test
        void testConcurrentFailureHandling() throws InterruptedException {
            IOException error = new IOException("Connection failed");
    
            // Simulate concurrent failures
            Thread[] threads = new Thread[5];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 7.7K bytes
    - Viewed (0)
Back to top