]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
tests: skip rgw_tuning_pools_are_set when rgw_create_pools is not defined
authorGuillaume Abrioux <gabrioux@redhat.com>
Fri, 22 Jun 2018 09:20:33 +0000 (11:20 +0200)
committerGuillaume Abrioux <gabrioux@redhat.com>
Wed, 11 Jul 2018 12:45:05 +0000 (14:45 +0200)
commitd6b743692e77ed01c37215eacfa9f8d02ca27b0c
treeb6814d815072229a1af3da2c3d0228dc87b8e637
parent4494c9c29e310c5220c79c2fd52c093211c7641a
tests: skip rgw_tuning_pools_are_set when rgw_create_pools is not defined

since ooo_collocation scenario is supposed to be the same scenario than the
one tested by OSP and they are not passing `rgw_create_pools` the test
`test_docker_rgw_tuning_pools_are_set` will fail:
```
>       pools = node["vars"]["rgw_create_pools"]
E       KeyError: 'rgw_create_pools'
```

skipping this test if `node["vars"]["rgw_create_pools"]` is not defined
fixes this failure.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit 1c3dae4a90816ac6503967779b7fd77ff84900b5)
tests/functional/tests/rgw/test_rgw_tuning.py