From: yayogev Date: Sun, 20 Aug 2017 14:06:02 +0000 (+0300) Subject: bug fix: show all missing images X-Git-Tag: opnfv-5.1.RC1~74 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=53bbf93de9cab75367b4b5fcf21f1e3de41e2d2e;p=calipso.git 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 --- 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)