1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

tests: fix clean up after lvmlockd tests

This commit is contained in:
David Teigland 2016-02-22 14:13:30 -06:00
parent ec81c42179
commit f4efc2435c
2 changed files with 10 additions and 2 deletions

View File

@ -19,6 +19,11 @@ test_description='Remove the dlm test setup'
# lvmlockctl -d > lvmlockd-debug.txt
# dlm_tool dump > dlm-debug.txt
lvmlockctl --stop-lockspaces
sleep 1
killall lvmlockd
sleep 1
killall lvmlockd || true
sleep 1
systemctl stop dlm
systemctl stop corosync
killall lvmlockd

View File

@ -26,11 +26,14 @@ vgremove --config 'devices { global_filter=["a|GL_DEV|", "r|.*|"] filter=["a|GL_
# lvmlockctl -d > lvmlockd-debug.txt
# sanlock log_dump > sanlock-debug.txt
lvmlockctl --stop-lockspaces
sleep 1
killall lvmlockd
sleep 1
killall lvmlockd || true
sleep 1
killall sanlock
sleep 1
killall -9 lvmlockd || true
killall -9 sanlock || true