From 05a5ffe97222ca7c49828f0d762a47e85411ab61 Mon Sep 17 00:00:00 2001 From: Pranith Kumar K Date: Thu, 15 May 2014 14:40:16 +0530 Subject: tests: Wait for nfs export to be available Change-Id: I59a5e0cb78f2b670761a65272b8ab1d7bdb3668a BUG: 1092850 Signed-off-by: Pranith Kumar K Reviewed-on: http://review.gluster.org/7773 Tested-by: Gluster Build System Reviewed-by: Vijay Bellur --- tests/bugs/bug-872923.t | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tests/bugs/bug-872923.t') diff --git a/tests/bugs/bug-872923.t b/tests/bugs/bug-872923.t index 6757846dcda..68d2e116769 100755 --- a/tests/bugs/bug-872923.t +++ b/tests/bugs/bug-872923.t @@ -1,6 +1,7 @@ #!/bin/bash . $(dirname $0)/../include.rc +. $(dirname $0)/../nfs.rc cleanup; @@ -9,9 +10,9 @@ TEST pidof glusterd TEST $CLI volume info TEST $CLI volume create $V0 replica 2 $H0:$B0/brick0 $H0:$B0/brick1 TEST $CLI volume start $V0 -sleep 5 -mount -t nfs -o vers=3,nolock `hostname`:/$V0 $N0 +EXPECT_WITHIN 20 "1" is_nfs_export_available; +TEST mount_nfs $H0:/$V0 $N0 nolock cd $N0 mkdir test_hardlink_self_heal; -- cgit