From 7cd32c18a11d0dfeb70c276b0185e21d06a71fa5 Mon Sep 17 00:00:00 2001 From: Pranith Kumar K Date: Mon, 19 May 2014 13:29:06 +0530 Subject: tests: Use uniform timeouts Change-Id: I479ab941b3b2da3b16f624400fbd300f08326268 BUG: 1092850 Signed-off-by: Pranith Kumar K Reviewed-on: http://review.gluster.org/7799 Tested-by: Gluster Build System Reviewed-by: Anand Avati --- tests/bugs/bug-887145.t | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/bugs/bug-887145.t') diff --git a/tests/bugs/bug-887145.t b/tests/bugs/bug-887145.t index b80f4bd392f..afd39da1616 100755 --- a/tests/bugs/bug-887145.t +++ b/tests/bugs/bug-887145.t @@ -15,7 +15,7 @@ sleep 2; ## Mount FUSE with caching disabled TEST glusterfs --entry-timeout=0 --attribute-timeout=0 -s $H0 --volfile-id $V0 $M0; -EXPECT_WITHIN 20 "1" is_nfs_export_available; +EXPECT_WITHIN $NFS_EXPORT_TIMEOUT "1" is_nfs_export_available; useradd tmp_user 2>/dev/null 1>/dev/null; @@ -34,7 +34,7 @@ TEST $CLI volume set $V0 server.root-squash on; sleep 2; -EXPECT_WITHIN 20 "1" is_nfs_export_available; +EXPECT_WITHIN $NFS_EXPORT_TIMEOUT "1" is_nfs_export_available; # create files and directories in the root of the glusterfs and nfs mount # which is owned by root and hence the right behavior is getting EACCESS -- cgit