From 3395b98a341228e89cf0a88e0d86c90117dbb285 Mon Sep 17 00:00:00 2001 From: Vijay Bellur Date: Thu, 30 Jan 2014 22:27:24 +0530 Subject: tests: Fix regression failures Change-Id: I83dc651a5ce87adf51d1f539400cd91c801fc460 BUG: 1045309 Signed-off-by: Vijay Bellur Reviewed-on: http://review.gluster.org/6874 Tested-by: Gluster Build System Reviewed-by: Kaushal M Reviewed-by: Pranith Kumar Karampuri --- tests/basic/mount.t | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'tests/basic/mount.t') diff --git a/tests/basic/mount.t b/tests/basic/mount.t index 90e522c5ea0..4197a97da8f 100755 --- a/tests/basic/mount.t +++ b/tests/basic/mount.t @@ -1,6 +1,7 @@ #!/bin/bash . $(dirname $0)/../include.rc +. $(dirname $0)/../nfs.rc cleanup; @@ -49,7 +50,11 @@ TEST 'mount -t fuse.glusterfs | grep -E "^$H0:$V0 .+ \(ro,"'; TEST 'grep -E "^$H0:$V0 .+ ,?ro,.+" /proc/mounts'; ## Wait for volume to register with rpc.mountd -sleep 5; +EXPECT_WITHIN 20 "1" is_nfs_export_available; + +## HACK: mount seems to require about 40 seconds more to be successful, +## sleep 40 is an interim fix till we root cause the underlying issue. +sleep 40 ## Mount NFS TEST mount -t nfs -o nolock,soft,intr $H0:/$V0 $N0; -- cgit