Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testHandleInfoExpiration (0.15 sec)

  1. src/test/java/jcifs/tests/persistent/HandleInfoTest.java

            assertEquals(testLeaseKey, info.getLeaseKey());
            assertFalse(info.isReconnecting());
            assertNull(info.getFile());
        }
    
        @Test
        public void testHandleInfoExpiration() {
            // Test durable handle expiration
            HandleInfo durableInfo = new HandleInfo("/test/file.txt", testGuid, testFileId, HandleType.DURABLE_V2, 100, // 100ms timeout
                    null);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  2. docs/smb3-features/02-persistent-handles-design.md

            
            // Test round-trip
            HandleGuid guid3 = new HandleGuid(guid1.toBytes());
            assertEquals(guid1, guid3);
        }
        
        @Test
        public void testHandleInfoExpiration() {
            HandleInfo info = new HandleInfo(
                "/test/file.txt",
                new HandleGuid(),
                new byte[16],
                HandleType.DURABLE_V2,
                1000,  // 1 second timeout
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 31.6K bytes
    - Viewed (0)
Back to top