Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for waitForNotification (0.31 sec)

  1. src/test/java/jcifs/internal/witness/WitnessClientTest.java

            notification.addNewIPAddress(InetAddress.getByName("192.168.1.101"));
    
            client.processNotification(notification);
    
            // Verify notification was delivered
            assertTrue(listener.waitForNotification(1000));
            assertNotNull(listener.getLastNotification());
            assertEquals(WitnessEventType.CLIENT_MOVE, listener.getLastNotification().getEventType());
    
            client.close();
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  2. docs/smb3-features/06-witness-protocol-design.md

        
        // Simulate cluster failover (would require test environment setup)
        // ... trigger server failover ...
        
        // Verify that witness notification was received and handled
        assertTrue(listener.waitForNotification(30000));  // 30 second timeout
        
        // Verify file is still accessible after failover
        assertTrue(file.exists());
    }
    
    @Test
    public void testWitnessServiceDiscovery() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 42K bytes
    - Viewed (0)
Back to top