From b2085f0853b9d487a2f0275cdf401df970d85159 Mon Sep 17 00:00:00 2001 From: Adam King Date: Thu, 8 Sep 2022 16:13:08 -0400 Subject: [PATCH] mgr/cephadm: fix custom config unit test this test needs to be updated to account for the new keyring information being introduced Signed-off-by: Adam King --- 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 373e7dd0632..e7dd47081a3 100644 --- a/src/pybind/mgr/cephadm/tests/test_cephadm.py +++ b/src/pybind/mgr/cephadm/tests/test_cephadm.py @@ -494,7 +494,7 @@ class TestCephadm(object): ] conf_outs = [json.dumps(c.to_json()) for c in configs] stdin_str = '{' + \ - f'"config": "", "keyring": "", "custom_config_files": [{conf_outs[0]}, {conf_outs[1]}]' + '}' + f'"config": "", "keyring": "[client.crash.test]\\nkey = None\\n", "custom_config_files": [{conf_outs[0]}, {conf_outs[1]}]' + '}' with with_host(cephadm_module, 'test'): with with_service(cephadm_module, ServiceSpec(service_type='crash', custom_configs=configs), CephadmOrchestrator.apply_crash): _run_cephadm.assert_called_with( -- 2.39.5