• Kirill Smelkov's avatar
    wcfs: tests: Allow to adjust tDB.assertBlk timeout · 82aa5949
    Kirill Smelkov authored
    Currently assertBlk uses default timeout() to wait for READ operation to
    complete. That works well everywhere except that in faulty
    protection tests wcfs server will first need to wait for its own
    pintimeout time to kill the faulty client and only then	return read
    result to all non-faulty clients.
    
    This way corresponding test, when one client fails to handle pin
    notification well triggered due to READ operations, will need to use
    adjusted longer timeout for the good client when doing assertBlk.
    
    Adjust assertBlk to allow specifying custom timeout as preparatory step
    for that.
    
    /reviewed-by @levin.zimmermann
    /reviewed-on !18
    82aa5949
wcfs_test.py 74 KB