From 3731561429f4ece3bc765b2d292b908419cafc8d Mon Sep 17 00:00:00 2001 From: Paul Cuzner Date: Thu, 25 Jan 2024 10:22:37 +1300 Subject: [PATCH] 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) --- src/pybind/mgr/cephadm/tests/test_autotune.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/pybind/mgr/cephadm/tests/test_autotune.py b/src/pybind/mgr/cephadm/tests/test_autotune.py index 524da9c0008c7..7994c390a7e8a 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): -- 2.39.5