]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
dump_stuck: fix test
authorSage Weil <sage@inktank.com>
Tue, 25 Jun 2013 19:45:22 +0000 (12:45 -0700)
committerSage Weil <sage@inktank.com>
Tue, 25 Jun 2013 19:49:07 +0000 (12:49 -0700)
The mon-osd-report-timeout setting shouldn't be there!  We will set the
other item explicitly, and remove both from the suite yaml.

Fixes: #5440
teuthology/task/dump_stuck.py

index d7dbf7dafbbe97e9a7930718c56feaba42819ca6..ee90fc19d264c0009a0c4d3585e842f91cd6200f 100644 (file)
@@ -33,10 +33,6 @@ def task(ctx, config):
     """
     Test the dump_stuck command.
 
-    The ceph configuration should include::
-
-        mon_osd_report_timeout = 90
-        mon_pg_stuck_threshold = 10
     """
     assert config is None, \
         'dump_stuck requires no configuration'
@@ -57,6 +53,10 @@ def task(ctx, config):
     manager.raw_cluster_cmd('tell', 'osd.1', 'flush_pg_stats')
     manager.wait_for_clean(timeout)
 
+    manager.raw_cluster_cmd('tell', 'mon.0', 'injectargs', '--',
+#                            '--mon-osd-report-timeout', '90',
+                            '--mon-pg-stuck-threshold', '10')
+
     check_stuck(
         manager,
         num_inactive=0,