]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
cephadm: fix iscsi test
authorGuillaume Abrioux <gabrioux@redhat.com>
Mon, 27 Sep 2021 15:22:48 +0000 (17:22 +0200)
committerGuillaume Abrioux <gabrioux@redhat.com>
Mon, 27 Sep 2021 15:24:30 +0000 (17:24 +0200)
commit7e9762e0ce36d773c34fc9353d2eacc694554f39
treecb0eee1d168190589edca2ddf9cd540158eea534
parentb130214195ff84af57f447cf3c3410f0918becaf
cephadm: fix iscsi test

the current test is wrong because it generates the tcmu-runner part two
times.
given the function `deploy_daemon_units()` in cephadm already writes a
first time the tcmu-runner command, calling a second time
`get_tcmu_runner_container()` from the test makes `deploy_daemon_units()`
write the same command again.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
src/cephadm/tests/test_cephadm.py