From: John Mulligan Date: Sat, 21 Oct 2023 20:10:32 +0000 (-0400) Subject: cephadm: add a test assertion for tracing env var X-Git-Tag: v19.0.0~203^2~8 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=2cd155eb42020efb570406817d140f07c8e57841;p=ceph.git cephadm: add a test assertion for tracing env var Part of a series of commits to increase coverage of deployment path features with regards to container engine options, env vars and mounts. This will serve future refactoring efforts. Signed-off-by: John Mulligan --- diff --git a/src/cephadm/tests/test_deploy.py b/src/cephadm/tests/test_deploy.py index 1c877df6bf52..d7712beb85f7 100644 --- a/src/cephadm/tests/test_deploy.py +++ b/src/cephadm/tests/test_deploy.py @@ -334,6 +334,7 @@ def test_deploy_a_tracing_container(cephadm_fs, monkeypatch): with open(basedir / 'unit.run') as f: runfile_lines = f.read().splitlines() assert 'podman' in runfile_lines[-1] + assert '-e discovery.type=single-node' in runfile_lines[-1] assert runfile_lines[-1].endswith('quay.io/rubber/elasticsearch:latest') _firewalld().open_ports.assert_not_called() assert not (basedir / 'config').exists()