Commit b44c84a0 authored by Kirill Smelkov's avatar Kirill Smelkov

wcfs: tests: Extend faultyprotect test with good client

And make sure that that good client can setup its watch ok even
through there simultaneously is a faulty client that should get killed.
parent 546ba331
......@@ -265,6 +265,10 @@ def test_wcfs_pintimeout_kill(with_prompt_pintimeout):
p.send("start watch")
assert p.recv(t.ctx) == b"pin %s #%d @%s" % (h(zf._p_oid), 2, h(at1))
# issue our watch request - it should be served well and without any delay
wl = t.openwatch()
wl.watch(zf, at1, {2:at1})
# the faulty client must become killed by wcfs
p.join(t.ctx)
assert p.exitcode is not None
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment