From 53bbf93de9cab75367b4b5fcf21f1e3de41e2d2e Mon Sep 17 00:00:00 2001 From: yayogev Date: Sun, 20 Aug 2017 17:06:02 +0300 Subject: 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 --- app/install/test/smoke_test.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) -- cgit 1.2.3-korg