Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testChannelSelection (0.07 sec)

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

            // For now, just test the empty case
            assertEquals(0, channelManager.getHealthyChannels().size());
        }
    
        @Test
        void testChannelSelection() {
            try {
                channelManager.selectChannel(mockMessage);
                fail("Should throw exception when no channels available");
            } catch (Exception e) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  2. docs/smb3-features/03-multi-channel-design.md

        return LoadBalancingStrategy.valueOf(strategy.toUpperCase());
    }
    ```
    
    ## 7. Testing Strategy
    
    ### 7.1 Unit Tests
    ```java
    @Test
    public void testChannelSelection() {
        ChannelManager manager = new ChannelManager(context, session);
        
        // Add test channels
        ChannelInfo channel1 = createTestChannel("channel1", 1000);  // 1Gbps
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 39.6K bytes
    - Viewed (0)
Back to top