Merge "Add timeout value into TimeoutException message"
This commit is contained in:
commit
529d37964d
@ -216,7 +216,8 @@ class MagnumScenario(scenario.OpenStackScenario):
|
||||
resource_name=podname,
|
||||
resource_type="Pod",
|
||||
resource_id=resp.metadata.uid,
|
||||
resource_status=resp.status)
|
||||
resource_status=resp.status,
|
||||
timeout=CONF.openstack.k8s_pod_create_timeout)
|
||||
common_utils.interruptable_sleep(
|
||||
CONF.openstack.k8s_pod_create_poll_interval)
|
||||
|
||||
@ -260,6 +261,7 @@ class MagnumScenario(scenario.OpenStackScenario):
|
||||
resource_name=rcname,
|
||||
resource_type="ReplicationController",
|
||||
resource_id=resp.metadata.uid,
|
||||
resource_status=status)
|
||||
resource_status=status,
|
||||
timeout=CONF.openstack.k8s_rc_create_timeout)
|
||||
common_utils.interruptable_sleep(
|
||||
CONF.openstack.k8s_rc_create_poll_interval)
|
||||
|
@ -181,7 +181,8 @@ class VMTasksTestCase(test.ScenarioTestCase):
|
||||
resource_name="foo_name",
|
||||
resource_id="foo_id",
|
||||
desired_status="foo_desired_status",
|
||||
resource_status="foo_resource_status")
|
||||
resource_status="foo_resource_status",
|
||||
timeout=2)
|
||||
exc = self.assertRaises(exceptions.TimeoutException,
|
||||
scenario.run,
|
||||
"foo_image", "foo_flavor", "foo_interpreter",
|
||||
|
Loading…
x
Reference in New Issue
Block a user