summaryrefslogtreecommitdiffstats
path: root/tests/bitrot
diff options
context:
space:
mode:
authorKotresh HR <khiremat@redhat.com>2016-07-27 15:58:35 +0530
committerJeff Darcy <jdarcy@redhat.com>2016-07-27 08:38:34 -0700
commitae4f59f929be36b40c9f8e20804b6bc4564cc7a3 (patch)
treefa5dfe01c28ef9d918fdacfbc88b66e773b3b651 /tests/bitrot
parent64ae3907818ad3cdaed1a1454cb44f684c9fcffd (diff)
tests: Fix tests/bitrot/bug-1244613.t
Wait for gluster nfs to initialize before attempting the nfs mount. Change-Id: I4bd9579ad5368935cf62632a5d612f89fce5979f BUG: 1360682 Signed-off-by: Kotresh HR <khiremat@redhat.com> Reviewed-on: http://review.gluster.org/15028 Smoke: Gluster Build System <jenkins@build.gluster.org> NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> CentOS-regression: Gluster Build System <jenkins@build.gluster.org> Reviewed-by: Jeff Darcy <jdarcy@redhat.com>
Diffstat (limited to 'tests/bitrot')
-rw-r--r--tests/bitrot/bug-1244613.t3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/bitrot/bug-1244613.t b/tests/bitrot/bug-1244613.t
index a1812e6..7cb57f0 100644
--- a/tests/bitrot/bug-1244613.t
+++ b/tests/bitrot/bug-1244613.t
@@ -40,6 +40,9 @@ TEST $CLI volume set $V0 performance.nfs.write-behind off
TEST $CLI volume start $V0;
EXPECT 'Started' volinfo_field $V0 'Status';
+## Wait for gluster nfs to come up
+EXPECT_WITHIN $NFS_EXPORT_TIMEOUT "1" is_nfs_export_available
+
TEST mount_nfs $H0:/$V0 $N0;
deep=/0/1/2/3/4/5/6/7/8/9
TEST mkdir -p $N0/$deep