]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
qa: add timeout to kclient umount
authorPatrick Donnelly <pdonnell@redhat.com>
Sun, 30 Sep 2018 00:34:37 +0000 (17:34 -0700)
committerNathan Cutler <ncutler@suse.com>
Fri, 5 Oct 2018 02:15:02 +0000 (04:15 +0200)
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>
(cherry picked from commit 7a64eb9dfb908a1a8e5d2b0dcaa7ca9df52a9ab1)

qa/tasks/cephfs/kernel_mount.py

index d237f65fb33541091968fe6b8c6079229e7c33d9..80271a6ebbb9ea6a7c6785c8817eafcab718a788 100644 (file)
@@ -99,7 +99,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',