Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testHandleFailure (0.19 sec)

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

            failedChannel.setState(ChannelState.ESTABLISHED);
    
            when(mockChannelManager.getLoadBalancer()).thenReturn(mockLoadBalancer);
        }
    
        @Test
        void testHandleFailure() {
            IOException error = new IOException("Connection failed");
    
            failover.handleFailure(failedChannel, error);
    
            assertEquals(ChannelState.FAILED, failedChannel.getState());
    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