Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for testMaxLeaseEviction (0.13 seconds)

  1. src/test/java/jcifs/internal/smb2/lease/LeaseManagerTest.java

                assertNull(entry1);
                assertNull(leaseManager.getLease(key2));
            }
        }
    
        @Test
        @DisplayName("Should evict oldest leases when max limit reached")
        void testMaxLeaseEviction() throws InterruptedException {
            // Create a context with low max lease limit
            Configuration limitedConfig = mock(Configuration.class);
            CIFSContext limitedContext = mock(CIFSContext.class);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 00:16:17 GMT 2025
    - 13.2K bytes
    - Click Count (0)
Back to Top