Skip to content

Commit

Permalink
ceph-volume tests.simple replace testinfra command for py.test
Browse files Browse the repository at this point in the history
Signed-off-by: Alfredo Deza <adeza@redhat.com>
  • Loading branch information
Alfredo Deza committed Mar 4, 2019
1 parent c4597fc commit e90ebc3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ceph-volume/ceph_volume/tests/functional/simple/tox.ini
Expand Up @@ -47,7 +47,7 @@ commands=
ansible-playbook -vv -i {changedir}/hosts {envdir}/tmp/ceph-ansible/tests/functional/setup.yml

# test cluster state testinfra
testinfra -n 4 --sudo -v --connection=ansible --ansible-inventory={changedir}/hosts {toxinidir}/../tests
py.test -n 4 --sudo -v --connection=ansible --ansible-inventory={changedir}/hosts {toxinidir}/../tests

# make ceph-volume simple take over all the OSDs that got deployed, disabling ceph-disk
ansible-playbook -vv -i {changedir}/hosts {changedir}/test.yml
Expand All @@ -59,6 +59,6 @@ commands=
sleep 120

# retest to ensure cluster came back up correctly after rebooting
testinfra -n 4 --sudo -v --connection=ansible --ansible-inventory={changedir}/hosts {toxinidir}/../tests
py.test -n 4 --sudo -v --connection=ansible --ansible-inventory={changedir}/hosts {toxinidir}/../tests

vagrant destroy {env:VAGRANT_DESTROY_FLAGS:"--force"}

0 comments on commit e90ebc3

Please sign in to comment.