]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
cephadm/tests: add initial test coverage for call function
authorJohn Mulligan <jmulligan@redhat.com>
Thu, 23 Feb 2023 19:51:13 +0000 (14:51 -0500)
committerAdam King <adking@redhat.com>
Tue, 25 Apr 2023 12:36:54 +0000 (08:36 -0400)
commit63c906fd4ea8e567f7540a15e1c2323e5f28c92a
tree4f60076b99be0b82ce10c29961d8b32cc5c58dba
parent90a475cea1b994ae971dba1c6bae8f9cdad016c4
cephadm/tests: add initial test coverage for call function

The call function provides the ability to run subprocesses, log output,
and provides an optional timeout parameter. This timeout parameter does
not appear to function correctly today, so we make use of
pytest.param/pytest.mark.xfail to mark these cases as already known to
fail.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
(cherry picked from commit 471a017ad86f752f862d6211faa5231567ba78d8)
src/cephadm/tests/test_util_funcs.py