]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm: consolidate test_alertmanager_config_* tests into one 48555/head
authorJohn Mulligan <jmulligan@redhat.com>
Wed, 19 Oct 2022 17:25:51 +0000 (13:25 -0400)
committerJohn Mulligan <jmulligan@redhat.com>
Wed, 19 Oct 2022 18:18:59 +0000 (14:18 -0400)
commit3414a84eec95c9da23bc24ce49d7111e26d14cd4
tree8916f4c3aa8a38bbde64de08d8c93864071f4e0f
parent58bc0f0155d9b5ff76038379ce5217f6b89f5b38
mgr/cephadm: consolidate test_alertmanager_config_* tests into one

Consolidate all the test_alertmanager_config_* tests into one pytest
parameterized test function. While doing this make all test instances
use a mock socket.getfqdn so that all hostname resolution is controlled
by the test and shouldn't fail on systems set up differently from the
test runners.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
src/pybind/mgr/cephadm/tests/test_services.py