Commit f118617b authored by Kirill Smelkov's avatar Kirill Smelkov

X tests: Don't try to stop wcfs that is already exited

parent 84404f8f
...@@ -35,6 +35,9 @@ def pytest_unconfigure(config): ...@@ -35,6 +35,9 @@ def pytest_unconfigure(config):
print(wcfs._wcstarted) print(wcfs._wcstarted)
print("closing...") print("closing...")
for wc in wcfs._wcstarted: for wc in wcfs._wcstarted:
if wc._proc.poll() is not None:
continue # this wcfs server already exited
twc = tWCFS(wc=wc) twc = tWCFS(wc=wc)
# FIXME currently has to kill wcfs.go, because swapned pinner threads are running # FIXME currently has to kill wcfs.go, because swapned pinner threads are running
# -> stop pinner first # -> stop pinner first
......
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