summaryrefslogtreecommitdiffstats
path: root/gluster/swift
diff options
context:
space:
mode:
authorLuis Pabon <lpabon@redhat.com>2013-05-10 16:17:45 -0400
committerPeter Portante <pportant@redhat.com>2013-05-17 08:38:11 -0700
commit7f7014862e78bd630afd3b5891d5570b6c674c30 (patch)
treeba2bc105b99d91a0fb2cd4a173e1acbd9c1e5120 /gluster/swift
parent952a240852c2e8d528a0d73c3fd5a229d396282c (diff)
object-store: Added busy_wait unit test to Glusterfs.py
Change-Id: Ifee5dccd47a3e301812533851c45b9fe853f9b71 Signed-off-by: Luis Pabon <lpabon@redhat.com> Reviewed-on: http://review.gluster.org/4983 Reviewed-by: Peter Portante <pportant@redhat.com> Tested-by: Peter Portante <pportant@redhat.com>
Diffstat (limited to 'gluster/swift')
-rw-r--r--gluster/swift/common/Glusterfs.py2
1 files changed, 1 insertions, 1 deletions
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)