Mend create_image() function 05/19205/1
authorMichael Polenchuk <mpolenchuk@mirantis.com>
Mon, 22 Aug 2016 12:37:06 +0000 (15:37 +0300)
committerMichael Polenchuk <mpolenchuk@mirantis.com>
Mon, 22 Aug 2016 12:37:06 +0000 (15:37 +0300)
Change-Id: I91681736817f881ca53e5124328bd4399aa54740
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
testcases/OpenStack/vPing/vping_util.py

index 42ab699..d3e081f 100644 (file)
@@ -166,6 +166,8 @@ def create_image():
             exit(EXIT_CODE)
         logger.debug("Image '%s' with ID=%s created successfully."
                      % (GLANCE_IMAGE_NAME, image_id))
+        image_exists = True
+
     return image_exists, image_id