summaryrefslogtreecommitdiffstats
path: root/tests/bugs
diff options
context:
space:
mode:
authorRaghavendra Talur <rtalur@redhat.com>2015-05-09 19:35:31 +0530
committerNiels de Vos <ndevos@redhat.com>2015-05-11 13:38:31 -0700
commite32e5fcb0757cd5cc8bfa04f45bab410f6547feb (patch)
treebb3d79f3dfd7e2a0a479a5fd2bbd17b2716bfea4 /tests/bugs
parent32e5cdeaa5073437d396c1e7d39c0fe4cbe1ee87 (diff)
tests: Wait for NFS exports to be ready before mount
Change-Id: Ie71e8c80d6a43dd618c9decb946a459b211295ce BUG: 1219846 Signed-off-by: Raghavendra Talur <rtalur@redhat.com> Reviewed-on: http://review.gluster.org/10724 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Niels de Vos <ndevos@redhat.com>
Diffstat (limited to 'tests/bugs')
-rwxr-xr-xtests/bugs/snapshot/bug-1166197.t1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/bugs/snapshot/bug-1166197.t b/tests/bugs/snapshot/bug-1166197.t
index 65b242250bf..739839fab81 100755
--- a/tests/bugs/snapshot/bug-1166197.t
+++ b/tests/bugs/snapshot/bug-1166197.t
@@ -20,6 +20,7 @@ TEST $CLI snapshot config activate-on-create enable
TEST $CLI volume set $V0 features.uss enable
EXPECT_WITHIN $PROCESS_UP_TIMEOUT 'Started' volinfo_field $V0 'Status';
+EXPECT_WITHIN $NFS_EXPORT_TIMEOUT "1" is_nfs_export_available;
TEST mount_nfs $H0:/$V0 $N0 nolock
TEST mkdir $N0/testdir