]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
test: pass timeout argument to mount::wait_for_dir_empty()
authorVenky Shankar <vshankar@redhat.com>
Mon, 24 Feb 2020 07:27:25 +0000 (02:27 -0500)
committerVenky Shankar <vshankar@redhat.com>
Mon, 24 Feb 2020 09:27:02 +0000 (04:27 -0500)
Signed-off-by: Venky Shankar <vshankar@redhat.com>
qa/tasks/cephfs/test_volumes.py

index cc823dbdd5eb52ee655ef4a495d8c6daccc67da0..6344f2565b10399cc7410ea467880348ba1c9c8e 100644 (file)
@@ -155,7 +155,7 @@ class TestVolumes(CephFSTestCase):
         # XXX: construct the trash dir path (note that there is no mgr
         # [sub]volume interface for this).
         trashdir = os.path.join("./", "volumes", "_deleting")
-        self.mount_a.wait_for_dir_empty(trashdir)
+        self.mount_a.wait_for_dir_empty(trashdir, timeout=timeout)
 
     def setUp(self):
         super(TestVolumes, self).setUp()