From 9115dd39e953953495d48c6d6f24f44828f8bd5f Mon Sep 17 00:00:00 2001 From: Pranith Kumar K Date: Tue, 7 Apr 2020 16:05:16 +0530 Subject: mount/fuse: Wait for 'mount' child to exit before dying Problem: tests/bugs/protocol/bug-1433815-auth-allow.t fails sometimes because of stale mount. This stale mount comes into picture when parent process dies without waiting for the child process which mounts fuse fs to die Fix: Wait for mounting child process to die before dying. Fixes: #1152 Change-Id: I8baee8720e88614fdb762ea822d5877973eef8dc Signed-off-by: Pranith Kumar K --- tests/bugs/protocol/bug-1433815-auth-allow.t | 1 - 1 file changed, 1 deletion(-) (limited to 'tests/bugs/protocol/bug-1433815-auth-allow.t') diff --git a/tests/bugs/protocol/bug-1433815-auth-allow.t b/tests/bugs/protocol/bug-1433815-auth-allow.t index 7020a7d9485..a78c0eb7111 100644 --- a/tests/bugs/protocol/bug-1433815-auth-allow.t +++ b/tests/bugs/protocol/bug-1433815-auth-allow.t @@ -30,7 +30,6 @@ TEST $GFS -f fubar.vol $M0 # If we had DONT_EXPECT_WITHIN we could use that, but we don't. sleep 10 EXPECT 0 check_mounted $M0 -ps aux | grep gluster # Set auth.allow to include us. This mount should therefore succeed. TEST $CLI volume set $V0 auth.allow "$(get_addresses)" -- cgit