- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for addPendingOperation (0.29 sec)
-
src/test/java/jcifs/internal/smb2/multichannel/ChannelFailoverTest.java
verify(mockLoadBalancer).selectChannel(mockOperation); verify(alternativeChannel).addPendingOperation(mockOperation); } @Test void testFailureWithNoAlternativeChannels() throws Exception { failedChannel.addPendingOperation(mockOperation);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 7.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/multichannel/ChannelInfoTest.java
channelInfo.addPendingOperation(mockOperation); assertEquals(1, channelInfo.getRequestsPending()); assertFalse(channelInfo.getPendingOperations().isEmpty()); assertTrue(channelInfo.removePendingOperation(mockOperation)); assertEquals(0, channelInfo.getRequestsPending()); channelInfo.addPendingOperation(mockOperation);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 7.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/multichannel/ChannelLoadBalancerTest.java
@Test void testLeastLoadedStrategy() { loadBalancer.setStrategy(LoadBalancingStrategy.LEAST_LOADED); // Add pending operations to channel1 to make it more loaded channel1.addPendingOperation(mockMessage); when(mockChannelManager.getHealthyChannels()).thenReturn(Arrays.asList(channel1, channel2)); ChannelInfo selected = loadBalancer.selectChannel(mockMessage);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 7.7K bytes - Viewed (0)