Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testAutomaticCleanup (0.5 sec)

  1. src/test/java/jcifs/util/ResourceManagerTest.java

            // Resource goes out of scope without closing - potential leak
        }
    
        @Test
        @DisplayName("Test automatic cleanup of old resources")
        @Timeout(value = 5, unit = TimeUnit.SECONDS)
        void testAutomaticCleanup() throws InterruptedException {
            // Configure with very short max age for testing
            resourceManager.configure(100, 50, true, true);
    
            TestResource resource = new TestResource("old");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.9K bytes
    - Viewed (0)
Back to top