From 7f7014862e78bd630afd3b5891d5570b6c674c30 Mon Sep 17 00:00:00 2001 From: Luis Pabon Date: Fri, 10 May 2013 16:17:45 -0400 Subject: object-store: Added busy_wait unit test to Glusterfs.py Change-Id: Ifee5dccd47a3e301812533851c45b9fe853f9b71 Signed-off-by: Luis Pabon Reviewed-on: http://review.gluster.org/4983 Reviewed-by: Peter Portante Tested-by: Peter Portante --- gluster/swift/common/Glusterfs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gluster') diff --git a/gluster/swift/common/Glusterfs.py b/gluster/swift/common/Glusterfs.py index a0c8126..ba6bcf1 100644 --- a/gluster/swift/common/Glusterfs.py +++ b/gluster/swift/common/Glusterfs.py @@ -55,7 +55,7 @@ def _busy_wait(full_mount_path): # Iterate for definite number of time over a given # interval for successful mount for i in range(0, 5): - if os.path.ismount(os.path.join(full_mount_path)): + if os.path.ismount(full_mount_path): return True time.sleep(2) logging.error('Busy wait for mount timed out for mount %s', full_mount_path) -- cgit