]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
qa: add timeout to kclient umount
authorPatrick Donnelly <pdonnell@redhat.com>
Sun, 30 Sep 2018 00:34:37 +0000 (17:34 -0700)
committerPatrick Donnelly <pdonnell@redhat.com>
Mon, 1 Oct 2018 01:12:15 +0000 (18:12 -0700)
Otherwise QA sits forever waiting for the kclient to umount when there is a
problem.

Fixes: http://tracker.ceph.com/issues/36184
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
qa/tasks/cephfs/kernel_mount.py

index 3f10657b8558c76ac74a6dd97d7ad1ae01caadf6..fe6584c7bbe766dcc7106178e8b3ac14f9b07566 100644 (file)
@@ -101,7 +101,7 @@ class KernelMount(CephFSMount):
             cmd.append('-f')
 
         try:
-            self.client_remote.run(args=cmd)
+            self.client_remote.run(args=cmd, timeout=(5*60))
         except Exception as e:
             self.client_remote.run(args=[
                 'sudo',