From 2b1f9273a3a088ae39ab6279df12c602dece4fef Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Tue, 25 Sep 2018 16:43:09 -0700 Subject: [PATCH] common/multipath-over-rdma: Make teardown() shut down the client This ensures that no multipath definitions created during a test remain after a test has finished. Signed-off-by: Bart Van Assche --- common/multipath-over-rdma | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common/multipath-over-rdma b/common/multipath-over-rdma index 210fe4c..c87667e 100644 --- a/common/multipath-over-rdma +++ b/common/multipath-over-rdma @@ -601,9 +601,11 @@ setup_rdma() { # Undo setup() teardown() { + shutdown_client killall -9 multipathd >&/dev/null rm -f /etc/multipath.conf stop_target + stop_rdma_rxe unload_null_blk } -- 2.49.0