From 917e043c7c7b94a40e6867bb6fd25ff005be76b3 Mon Sep 17 00:00:00 2001 From: Joshua Schmid Date: Thu, 4 Jun 2020 09:53:32 +0200 Subject: [PATCH] mgr/cephadm: adapt tests to have OSDSPEC_AFFINITY Signed-off-by: Joshua Schmid --- src/pybind/mgr/cephadm/tests/test_cephadm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pybind/mgr/cephadm/tests/test_cephadm.py b/src/pybind/mgr/cephadm/tests/test_cephadm.py index 30cc55984d74..3b27afcedd93 100644 --- a/src/pybind/mgr/cephadm/tests/test_cephadm.py +++ b/src/pybind/mgr/cephadm/tests/test_cephadm.py @@ -285,7 +285,7 @@ class TestCephadm(object): _run_cephadm.assert_any_call( 'test', 'osd', 'ceph-volume', ['--config-json', '-', '--', 'lvm', 'prepare', '--bluestore', '--data', '/dev/sdb', '--no-systemd'], - env_vars=[], error_ok=True, stdin='{"config": "", "keyring": ""}') + env_vars=['CEPH_VOLUME_OSDSPEC_AFFINITY=foo'], error_ok=True, stdin='{"config": "", "keyring": ""}') _run_cephadm.assert_called_with('test', 'osd', 'ceph-volume', ['--', 'lvm', 'list', '--format', 'json']) -- 2.47.3