diff options
author | Luis Pabon <lpabon@redhat.com> | 2013-05-10 16:17:45 -0400 |
---|---|---|
committer | Peter Portante <pportant@redhat.com> | 2013-05-17 08:38:11 -0700 |
commit | 7f7014862e78bd630afd3b5891d5570b6c674c30 (patch) | |
tree | ba2bc105b99d91a0fb2cd4a173e1acbd9c1e5120 /gluster | |
parent | 952a240852c2e8d528a0d73c3fd5a229d396282c (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')
-rw-r--r-- | gluster/swift/common/Glusterfs.py | 2 |
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) |