Merge "added configs for new image size test case changed return type to float Change-Id: I2e1939222c5ab05697042a3da36f7918f6c62d89"
This commit is contained in:
@@ -31,6 +31,11 @@ class ImagesConfig(ConfigSectionInterface):
|
||||
"""Alternate image to be used in compute test"""
|
||||
return self.get("secondary_image")
|
||||
|
||||
@property
|
||||
def old_image(self):
|
||||
"""old version of the image used for images testing only"""
|
||||
return self.get("old_image")
|
||||
|
||||
@property
|
||||
def image_status_interval(self):
|
||||
"""Amount of time to wait between polling the status of an image"""
|
||||
@@ -41,6 +46,11 @@ class ImagesConfig(ConfigSectionInterface):
|
||||
"""Length of time to wait before giving up on reaching a status"""
|
||||
return int(self.get("snapshot_timeout"))
|
||||
|
||||
@property
|
||||
def delta_image_size(self):
|
||||
"""Get the max limit percentage tolerance for image version sizes"""
|
||||
return float(self.get("delta_image_size"))
|
||||
|
||||
@property
|
||||
def can_get_deleted_image(self):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user