Use build interval and timeout from conf

Zaqar plugin currently use build timeout and interval
options from a tempest variable which was temporary defined for
baremetal tests only - cls.os.default_params_with_timeout_values

Now below patch remove the baremetal tests from ironic and so
this variable.
- Id518a6d87d0949737cd1c50cb6a83149b85e5f85

This patch fix zaqar to use those required config options directly
from tempest conf.

Change-Id: I8f84177d00cd0f635a45eabe275a51c20761e6cb
This commit is contained in:
ghanshyam 2016-11-15 13:23:13 +09:00
parent bc22719667
commit 40361c68fe
1 changed files with 6 additions and 3 deletions

View File

@ -155,7 +155,8 @@ class BaseV1MessagingTest(BaseMessagingTest):
cls.os.auth_provider,
CONF.messaging.catalog_type,
CONF.identity.region,
**cls.os.default_params_with_timeout_values)
build_interval=CONF.compute.build_interval,
build_timeout=CONF.compute.build_timeout)
@classmethod
def check_queue_exists(cls, queue_name):
@ -179,7 +180,8 @@ class BaseV11MessagingTest(BaseMessagingTest):
cls.os.auth_provider,
CONF.messaging.catalog_type,
CONF.identity.region,
**cls.os.default_params_with_timeout_values)
build_interval=CONF.compute.build_interval,
build_timeout=CONF.compute.build_timeout)
@classmethod
def generate_message_body(cls, repeat=1):
@ -206,7 +208,8 @@ class BaseV2MessagingTest(BaseMessagingTest):
cls.os.auth_provider,
CONF.messaging.catalog_type,
CONF.identity.region,
**cls.os.default_params_with_timeout_values)
build_interval=CONF.compute.build_interval,
build_timeout=CONF.compute.build_timeout)
@classmethod
def create_subscription(cls, queue_name, rbody):