From b7a72375353d583928d971b64eb9f0674904ba76 Mon Sep 17 00:00:00 2001 From: Emmanuel Dreyfus Date: Mon, 11 May 2015 03:32:20 +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 BUG: 1129939 Change-Id: I972d379172a75f29ad11abc66d700c2d31106194 Signed-off-by: Emmanuel Dreyfus Reviewed-on: http://review.gluster.org/10748 Tested-by: Gluster Build System Reviewed-by: Shyamsundar Ranganathan Reviewed-by: Kaleb KEITHLEY --- tests/bitrot/br-stub.t | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/bitrot/br-stub.t') 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