- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for getLoadBalancer (0.05 sec)
-
src/test/java/jcifs/internal/smb2/multichannel/ChannelManagerTest.java
} @Test void testLoadBalancerAccess() { ChannelLoadBalancer balancer = channelManager.getLoadBalancer(); assertNotNull(balancer); // Should return same instance assertSame(balancer, channelManager.getLoadBalancer()); } @Test void testChannelFailureHandling() throws UnknownHostException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 7.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/multichannel/MultiChannelIntegrationTest.java
// In mock environment, this will be false until we mock successful negotiation // Verify load balancer is initialized assertNotNull(channelManager.getLoadBalancer()); } @Test void testNetworkInterfaceInfo() throws Exception { // Test NetworkInterfaceInfo creation and scoring InetAddress address = InetAddress.getByName("192.168.1.100");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 8.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/multichannel/ChannelFailoverTest.java
failedChannel = new ChannelInfo("failed-channel", mockTransport, localInterface, remoteInterface); failedChannel.setState(ChannelState.ESTABLISHED); when(mockChannelManager.getLoadBalancer()).thenReturn(mockLoadBalancer); } @Test void testHandleFailure() { IOException error = new IOException("Connection failed"); failover.handleFailure(failedChannel, error);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 7.7K bytes - Viewed (0)