Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getChannelHealthCheckInterval (0.18 sec)

  1. src/test/java/jcifs/config/MultiChannelConfigurationTest.java

            PropertyConfiguration config = new PropertyConfiguration(props);
            assertEquals(30, config.getChannelHealthCheckInterval());
    
            props.setProperty("jcifs.smb.client.channelHealthCheckInterval", "5");
            config = new PropertyConfiguration(props);
            assertEquals(5, config.getChannelHealthCheckInterval());
        }
    
        @Test
        void testCompleteMultiChannelConfiguration() throws CIFSException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/multichannel/ChannelManagerTest.java

            when(mockConfig.getChannelBindingPolicy()).thenReturn(1); // preferred
            when(mockConfig.getLoadBalancingStrategy()).thenReturn("adaptive");
            when(mockConfig.getChannelHealthCheckInterval()).thenReturn(10);
    
            channelManager = new ChannelManager(mockContext, mockSession);
        }
    
        @Test
        void testConstructor() {
            assertNotNull(channelManager);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 7.6K bytes
    - Viewed (0)
Back to top