From: John Mulligan Date: Fri, 20 Oct 2023 14:43:04 +0000 (-0400) Subject: cephadm: enhance test case with env vars X-Git-Tag: v19.0.0~150^2~19 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=4516be40fe5947f62fe0712501451a7583ae8d3b;p=ceph.git cephadm: enhance test case with env vars Add some env vars to the custom container test to help assure future changes don't overlook the ability to set them. Signed-off-by: John Mulligan --- diff --git a/src/cephadm/tests/test_custom_container.py b/src/cephadm/tests/test_custom_container.py index cff217a840449..c0f2a7966c44c 100644 --- a/src/cephadm/tests/test_custom_container.py +++ b/src/cephadm/tests/test_custom_container.py @@ -115,6 +115,9 @@ def test_deploy_custom_container(cephadm_fs): '--servers', '192.168.8.42,192.168.8.43,192.168.12.11', ] + ctx.config_blobs = { + 'envs': ['FOO=1', 'BAR=77'], + } _cephadm._common_deploy(ctx) @@ -132,6 +135,8 @@ def test_deploy_custom_container(cephadm_fs): ' --cgroups=split --no-hosts' ' -e CONTAINER_IMAGE=quay.io/foobar/quux:latest' ' -e NODE_NAME=host1' + ' -e FOO=1' + ' -e BAR=77' ' quay.io/foobar/quux:latest' ' --label frobnicationist --servers 192.168.8.42,192.168.8.43,192.168.12.11' )