From 83777286f6ca1213509080ea8bcc43e8cd91db65 Mon Sep 17 00:00:00 2001 From: Emmanuel Dreyfus Date: Mon, 11 May 2015 03:35:06 +0200 Subject: Tests: avoid hang in br-stub.t br-stub.t forgot to unmount the NFS mount, leading to the situation where cleanup code had to do it after glusterfs daemon were shut down. NetBSD has trouble dealing with this situation and may enter endless wait for the NFS server to come back. Fix is simply to unmount before the end og the script Backport of I972d379172a75f29ad11abc66d700c2d31106194 BUG: 1212676 Change-Id: I81b3823e71aca8d8e976da63d226c0be0d462b69 Signed-off-by: Emmanuel Dreyfus Reviewed-on: http://review.gluster.org/10749 Tested-by: Gluster Build System Reviewed-by: Kaleb KEITHLEY Reviewed-by: Vijay Bellur --- tests/bitrot/br-stub.t | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests') diff --git a/tests/bitrot/br-stub.t b/tests/bitrot/br-stub.t index bab4c7cdbd1..eb0c55caa36 100644 --- a/tests/bitrot/br-stub.t +++ b/tests/bitrot/br-stub.t @@ -49,6 +49,8 @@ touch $fname; # backpath remains same.. TEST $STUB_EXEC $fname $(dirname $backpath) +EXPECT_WITHIN $UMOUNT_TIMEOUT "Y" umount_nfs $N0 + ##cleanups.. rm -f $STUB_EXEC -- cgit