]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/tasks: wait_for_clean is called after ceph task as well after osd's are up, 21313/head
authorVasu Kulkarni <vasu@redhat.com>
Tue, 10 Apr 2018 00:24:42 +0000 (17:24 -0700)
committerVasu Kulkarni <vasu@redhat.com>
Tue, 10 Apr 2018 00:24:42 +0000 (17:24 -0700)
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 <vasu@redhat.com>
qa/tasks/ceph_manager.py

index 4042f1cf47be41b7d529e78a5e4899159c6f76e9..961a035d8b782a0f1b5ec4281ee0ec8c3ff562ae 100644 (file)
@@ -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.
         """