]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
tasks/cephfs: fix wait in assert_cluster_log
authorJohn Spray <john.spray@redhat.com>
Thu, 3 Dec 2015 12:01:46 +0000 (12:01 +0000)
committerJohn Spray <john.spray@redhat.com>
Tue, 5 Jan 2016 18:58:01 +0000 (18:58 +0000)
I had the monc tick interval wrong.

Signed-off-by: John Spray <john.spray@redhat.com>
tasks/cephfs/cephfs_test_case.py

index b735c32279c9a07ca2ee117037e70ad4f1f69e5b..206b14e4464ab369bea49ce6a443f1221aa740be 100644 (file)
@@ -313,7 +313,9 @@ class CephFSTestCase(unittest.TestCase):
                         return
                     else:
                         log.debug("No log hits yet, waiting...")
-                        time.sleep(5)
+                        # Default monc tick interval is 10s, so wait that long and
+                        # then some grace
+                        time.sleep(15)
 
                 self.watcher_process.stdin.close()
                 try: