diff options
author | Pranith Kumar K <pkarampu@redhat.com> | 2014-05-19 13:29:06 +0530 |
---|---|---|
committer | Anand Avati <avati@redhat.com> | 2014-05-19 21:00:46 -0700 |
commit | 7cd32c18a11d0dfeb70c276b0185e21d06a71fa5 (patch) | |
tree | 175980b522a99d89c09034c1f74489105f89619f /tests/bugs/bug-904065.t | |
parent | c13c1fd5a487eeca269e8b62114f607487ee30f6 (diff) |
tests: Use uniform timeouts
Change-Id: I479ab941b3b2da3b16f624400fbd300f08326268
BUG: 1092850
Signed-off-by: Pranith Kumar K <pkarampu@redhat.com>
Reviewed-on: http://review.gluster.org/7799
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'tests/bugs/bug-904065.t')
-rwxr-xr-x | tests/bugs/bug-904065.t | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/bugs/bug-904065.t b/tests/bugs/bug-904065.t index 5d5045bb734..ff677453015 100755 --- a/tests/bugs/bug-904065.t +++ b/tests/bugs/bug-904065.t @@ -34,7 +34,7 @@ TEST $CLI volume start $V0; EXPECT 'Started' volinfo_field $V0 'Status' # glusterfs/nfs needs some time to start up in the background -EXPECT_WITHIN 20 1 is_nfs_export_available +EXPECT_WITHIN $NFS_EXPORT_TIMEOUT 1 is_nfs_export_available # before mounting the rmtab should be empty EXPECT '0' count_lines /var/lib/glusterd/nfs/rmtab @@ -73,7 +73,7 @@ EXPECT '2' count_lines $M0/rmtab TEST gluster volume set $V0 nfs.mount-rmtab $M0/rmtab # glusterfs/nfs needs some time to restart -EXPECT_WITHIN 20 1 is_nfs_export_available +EXPECT_WITHIN $NFS_EXPORT_TIMEOUT 1 is_nfs_export_available # a new mount should be added to the rmtab, not overwrite exiting ones TEST mount_nfs $H0:/$V0 $N0 nolock |