From: Paul Cuzner Date: Wed, 24 Jan 2024 21:22:37 +0000 (+1300) Subject: cephadm: add testcase to autotuner X-Git-Tag: testing/wip-pdonnell-testing-20240430.123648-reef-debug~158^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=3731561429f4ece3bc765b2d292b908419cafc8d;p=ceph-ci.git cephadm: add testcase to autotuner Adds a testcase for the presence of the nvmeof daemon Signed-off-by: Paul Cuzner (cherry picked from commit 2d4bd1604246436136e11d14bc447c31a1e26a97) --- diff --git a/src/pybind/mgr/cephadm/tests/test_autotune.py b/src/pybind/mgr/cephadm/tests/test_autotune.py index 524da9c0008..7994c390a7e 100644 --- a/src/pybind/mgr/cephadm/tests/test_autotune.py +++ b/src/pybind/mgr/cephadm/tests/test_autotune.py @@ -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):