]> 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>
Tue, 25 Feb 2020 04:08:43 +0000 (23:08 -0500)
Signed-off-by: Venky Shankar <vshankar@redhat.com>
(cherry picked from commit 5ec09a228ca2b726da3ce79fc01e07911051326a)

qa/tasks/cephfs/test_volumes.py

index 14b266e4a1770578a5562706e3627b452a20b21a..22c284c08661cae5de950a028e936ffe6cab80df 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()