kolla-ansible/tests
Mohammed Naser 27d675ea13
Switch kolla_docker to rely on SHA256 for image changes
At the moment, the process to determine if an image has
changed or not relies on the Docker API which depending
on the Docker release server can return different results.

This patch addresses this issue by grabbing the SHA256
of the image before pulling (defaulting to None if it does
not exist) and then comparing it after the pull is complete
which should always be successful at determining if the
image did change or not.

The test for unknown status images is removed because this
is not a possible scenario as we do not rely on status
anymore except for failures (which are still tested).

Change-Id: Ia60a7f34420b02f50597dddb96a4c36ff3996612
Closes-Bug: #1668059
2017-04-06 16:34:01 -04:00
..
__init__.py Add py27 py34 pypy unittest 2016-01-13 13:47:49 +08:00
clients.py Python 3 deprecated the logger.warn method in favor of warning 2015-12-29 14:40:01 +08:00
setup_gate.sh Convert gate to file backend rather than partition 2016-01-21 22:59:13 +00:00
test_keystone.py Clean imports in code 2016-09-12 15:17:28 +07:00
test_kolla_docker.py Switch kolla_docker to rely on SHA256 for image changes 2017-04-06 16:34:01 -04:00
test_merge_config.py Change python interpreter 2017-02-16 13:39:36 -08:00