mirror of
https://github.com/koverstreet/bcachefs-tools.git
synced 2025-02-23 00:00:02 +03:00
bachefs-tools: Fix broken test code.
A check was missing in some of the python test code, probably from a bad cherry-pick. Signed-off-by: Justin Husted <sigstop@gmail.com>
This commit is contained in:
parent
17a7161dbe
commit
4d5e1942bd
@ -210,10 +210,11 @@ class BFuse:
|
||||
run("fusermount3", "-zu", self.mnt)
|
||||
print("Waiting for thread to exit.")
|
||||
|
||||
self.thread.join(timeout)
|
||||
if self.thread.is_alive():
|
||||
self.proc.kill()
|
||||
self.thread.join()
|
||||
if self.thread:
|
||||
self.thread.join(timeout)
|
||||
if self.thread.is_alive():
|
||||
self.proc.kill()
|
||||
self.thread.join()
|
||||
|
||||
self.thread = None
|
||||
self.ready.clear()
|
||||
|
Loading…
Reference in New Issue
Block a user