• Kirill Smelkov's avatar
    wcfs: tests: Add context to tWCFS · 869e597d
    Kirill Smelkov authored
    This testing helper limits whole test time to detect FUSE-related
    deadlocks via aborting FUSE connection on timeout. It is working good so
    far. But soon we will need pinkill-related tests, where timeout will
    need to be detected independently of FUSE connection. Expose tWCFS.ctx
    for tests to be able to use this context and do things limited in time.
    Adjust FUSE aborting to correlate exactly with this context
    cancellation.
    
    /reviewed-by @levin.zimmermann
    /reviewed-on !18
    869e597d
wcfs_test.pyx 7.84 KB