]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/cephadm: add crash keyring to unit test
authorAdam King <adking@redhat.com>
Tue, 8 Mar 2022 18:05:29 +0000 (13:05 -0500)
committerRadoslaw Zarzynski <rzarzyns@redhat.com>
Mon, 12 Sep 2022 17:03:32 +0000 (17:03 +0000)
Signed-off-by: Adam King <adking@redhat.com>
src/pybind/mgr/cephadm/tests/test_cephadm.py

index 354ee338a5cfb768ec6e8c58b295a60f10965da0..373e7dd06324966a019cbaa3fe21dfffab94651a 100644 (file)
@@ -472,7 +472,7 @@ class TestCephadm(object):
                         '--extra-container-args=--cpus=2',
                         '--extra-container-args=--quiet'
                     ],
-                    stdin='{"config": "", "keyring": ""}',
+                    stdin='{"config": "", "keyring": "[client.crash.test]\\nkey = None\\n"}',
                     image='',
                 )