diff options
author | yayogev <yaronyogev@gmail.com> | 2017-08-20 17:06:02 +0300 |
---|---|---|
committer | yayogev <yaronyogev@gmail.com> | 2017-08-20 17:06:02 +0300 |
commit | 53bbf93de9cab75367b4b5fcf21f1e3de41e2d2e (patch) | |
tree | e0bac92fc6ea93fba87f95201a4c6db418052352 | |
parent | 95798fe7afb6f53f422e57dd8e726f453def2917 (diff) |
bug fix: show all missing images
iwhen multiple images are missing, it would only display the first one
Change-Id: I09cdd0f575814b0904e4a9df0e9cb2e691037899
Signed-off-by: yayogev <yaronyogev@gmail.com>
-rw-r--r-- | app/install/test/smoke_test.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/install/test/smoke_test.py b/app/install/test/smoke_test.py index 909648b..373a7c3 100644 --- a/app/install/test/smoke_test.py +++ b/app/install/test/smoke_test.py @@ -84,5 +84,6 @@ if __name__ == '__main__': image_checker = DockerImageCheck() ret = True for image in ["calipso-{}".format(i) for i in IMAGES_TO_SEARCH]: - ret = ret and image_checker.verify_image_is_up(image) + if not image_checker.verify_image_is_up(image): + ret = False sys.exit(0 if ret else 1) |