• Kirill Smelkov's avatar
    wcfs: tests: Add test to exercies faulty client that does not reply to pin... · 0c35ae45
    Kirill Smelkov authored
    wcfs: tests: Add test to exercies faulty client that does not reply to pin triggered by readPinWatchers
    
    Levin writes:
    
        This patch extends the test scope of 'test_wcfs_pintimeout_kill'. Before
        this patch, the test only ensured that a client that does not
        respond to pin requests during the initial watch request [1] is
        killed. Now it also tests that a faulty client is killed when a block
        is invalidated. Since there are no other situations where the WCFS
        server sends pin requests to a client, the tests now cover all situations
        where a faulty client might not respond. This patch therefore aims to
        increase the security that WCFS is not blocked by a faulty client.
    
        [1] See nexedi/wendelin.core!18
    
    Preliminary history:
    
        9d42efffCo-authored-by: Levin Zimmermann's avatarLevin Zimmermann <levin.zimmermann@nexedi.com>
    
    /discussed-on nexedi/wendelin.core!18
    0c35ae45
wcfs_faultyprot_test.py 11.9 KB