This is an automated email from the git hooks/post-receive script.
teigland pushed a commit to branch master
in repository sanlock.
commit 5f3f7d9071c48dd347655c3ad2165470dde3d6b5
Author: Nir Soffer <nsoffer(a)redhat.com>
Date: Sat Mar 3 01:38:58 2018 +0200
Kill test sanlock daemon
Killing the test daemon allows skipping of rem_lockspace in the tests,
saving about 3 seconds per test. This also ensures that bugs in sanlock
or the tests do not hang the tests forever.
Signed-off-by: Nir Soffer <nsoffer(a)redhat.com>
---
tests/conftest.py | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/tests/conftest.py b/tests/conftest.py
index 8055c88..6b8b0e8 100644
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -17,5 +17,7 @@ def sanlock_daemon():
util.wait_for_daemon(0.5)
yield
finally:
- p.terminate()
+ # Killing sanlock allows terminating without reomving the lockspace,
+ # which takes about 3 seconds, slowing down the tests.
+ p.kill()
p.wait()
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.