diff options
author | Luke Meyer <lmeyer@redhat.com> | 2017-06-30 10:19:50 -0400 |
---|---|---|
committer | Luke Meyer <lmeyer@redhat.com> | 2017-06-30 10:30:29 -0400 |
commit | 4d3574957508c257e12d9ba8ec8de48ed9789eb9 (patch) | |
tree | ae56fa51898970deed7589e7de92c64bda165c87 /roles/openshift_health_checker/test | |
parent | 820206a73ee0a4b2e7084331e6166afe5dff5962 (diff) | |
download | openshift-4d3574957508c257e12d9ba8ec8de48ed9789eb9.tar.gz openshift-4d3574957508c257e12d9ba8ec8de48ed9789eb9.tar.bz2 openshift-4d3574957508c257e12d9ba8ec8de48ed9789eb9.tar.xz openshift-4d3574957508c257e12d9ba8ec8de48ed9789eb9.zip |
docker_image_availability: fix containerized etcd
fixes bug 1466622 - docker_image_availability check on etcd host failed for 'openshift_image_tag' is undefined
Diffstat (limited to 'roles/openshift_health_checker/test')
-rw-r--r-- | roles/openshift_health_checker/test/docker_image_availability_test.py | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/roles/openshift_health_checker/test/docker_image_availability_test.py b/roles/openshift_health_checker/test/docker_image_availability_test.py index 0a7c0f8d3..3b9e097fb 100644 --- a/roles/openshift_health_checker/test/docker_image_availability_test.py +++ b/roles/openshift_health_checker/test/docker_image_availability_test.py @@ -259,3 +259,17 @@ def test_required_images(deployment_type, is_containerized, groups, oreg_url, ex ) assert expected == DockerImageAvailability("DUMMY").required_images(task_vars) + + +def test_containerized_etcd(): + task_vars = dict( + openshift=dict( + common=dict( + is_containerized=True, + ), + ), + openshift_deployment_type="origin", + group_names=['etcd'], + ) + expected = set(['registry.access.redhat.com/rhel7/etcd']) + assert expected == DockerImageAvailability("DUMMY").required_images(task_vars) |