]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
cephadm: add testcase to autotuner
authorPaul Cuzner <pcuzner@ibm.com>
Wed, 24 Jan 2024 21:22:37 +0000 (10:22 +1300)
committerAdam King <adking@redhat.com>
Sun, 10 Mar 2024 20:24:51 +0000 (16:24 -0400)
Adds a testcase for the presence of the nvmeof daemon

Signed-off-by: Paul Cuzner <pcuzner@ibm.com>
(cherry picked from commit 2d4bd1604246436136e11d14bc447c31a1e26a97)

src/pybind/mgr/cephadm/tests/test_autotune.py

index 524da9c0008c7d12a657dfa8ff7e7fa720c19645..7994c390a7e8ae8a15e95e485c1b2f815976b7d5 100644 (file)
@@ -46,6 +46,17 @@ from orchestrator import DaemonDescription
             ],
             {},
             62 * 1024 * 1024 * 1024,
+        ),
+        (
+            128 * 1024 * 1024 * 1024,
+            [
+                DaemonDescription('mgr', 'a', 'host1'),
+                DaemonDescription('osd', '1', 'host1'),
+                DaemonDescription('osd', '2', 'host1'),
+                DaemonDescription('nvmeof', 'a', 'host1'),
+            ],
+            {},
+            60 * 1024 * 1024 * 1024,
         )
     ])
 def test_autotune(total, daemons, config, result):