From 7881a19d92e86676ebe3c9f2d04f4d69cd533e84 Mon Sep 17 00:00:00 2001 From: Vasu Kulkarni Date: Mon, 9 Apr 2018 17:24:42 -0700 Subject: [PATCH] qa/tasks: wait_for_clean is called after ceph task as well after osd's are up, the default timeout is none in that case, there are cases where it can hang forever due to error cases, since this dumps quite a lot of info the logs grow in GB's, with default timeout of 1200 we can avoid such huge logs and fail sooner. Any tests needing higher timeout can pass the required value. Signed-off-by: Vasu Kulkarni --- qa/tasks/ceph_manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qa/tasks/ceph_manager.py b/qa/tasks/ceph_manager.py index 4042f1cf47be4..961a035d8b782 100644 --- a/qa/tasks/ceph_manager.py +++ b/qa/tasks/ceph_manager.py @@ -2091,7 +2091,7 @@ class CephManager: """ return self.get_num_active_down() == self.get_num_pgs() - def wait_for_clean(self, timeout=None): + def wait_for_clean(self, timeout=1200): """ Returns true when all pgs are clean. """ -- 2.39.5