ceph-ansible/tests
Guillaume Abrioux 9a65ec231d tests: fix `_get_osd_id_from_host()` in TestOSDs()
We must initialize `children` variable in `_get_osd_id_from_host()`,
otherwise, if for any reason the deployment has failed and result with
an osd host with no OSD registered, we won't enter in the condition,
therefore, `children` is never set and the function tries to return
something undefined.

Typical error:
```
E       UnboundLocalError: local variable 'children' referenced before assignment
```

Fixes: #2860

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
2018-07-10 13:06:23 +00:00
..
functional tests: fix `_get_osd_id_from_host()` in TestOSDs() 2018-07-10 13:06:23 +00:00
inventories add a mdss group to the CLI testing inventory 2016-05-06 14:47:45 -05:00
scripts tests: add a helper script to generate vagrant ssh configs 2016-11-04 14:13:30 -04:00
README.md WIP: first implementation of functional tests 2015-02-22 02:31:28 +01:00
README.rst tests: create a README with some explanation on how to use the test harness 2016-11-04 13:59:33 -04:00
conftest.py tests: add mimic support for test_rbd_mirror_is_up() 2018-07-06 14:39:13 +02:00
pytest.ini tests: placeholder pytest.ini to define test root dir 2016-11-04 13:59:32 -04:00
requirements.txt tests: refact ci testing master 2018-07-06 16:31:49 +00:00

README.md

Functional tests

These playbooks aim to individually validate each Ceph component. Some of them require packages to be installed. Ideally you will run these tests from a client machine or from the Ansible server.