From 7a64eb9dfb908a1a8e5d2b0dcaa7ca9df52a9ab1 Mon Sep 17 00:00:00 2001 From: Patrick Donnelly Date: Sat, 29 Sep 2018 17:34:37 -0700 Subject: [PATCH] qa: add timeout to kclient umount 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 --- qa/tasks/cephfs/kernel_mount.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qa/tasks/cephfs/kernel_mount.py b/qa/tasks/cephfs/kernel_mount.py index 3f10657b855..fe6584c7bbe 100644 --- a/qa/tasks/cephfs/kernel_mount.py +++ b/qa/tasks/cephfs/kernel_mount.py @@ -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', -- 2.39.5