Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testNoConnectionReuse (1.18 sec)

  1. src/test/java/jcifs/smb/SmbTransportPoolImplTest.java

            assertFalse(pool.contains(nonPooled), "Non-pooled connection should not be tracked");
        }
    
        @Test
        @DisplayName("Should create new connections when reuse conditions are not met")
        void testNoConnectionReuse() throws Exception {
            // Given: Create a new pool for this test to ensure isolation
            SmbTransportPoolImpl testPool = new SmbTransportPoolImpl();
            when(ctx.getTransportPool()).thenReturn(testPool);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 19.2K bytes
    - Viewed (0)
Back to top