Change file loading mechanism for heat tests
Improve file loading mechanism for heat tests. Previously, heat tests loaded template files for every tests. "types.set" allows to exclude redundant file operations from tests. In addition, the unit tests for heat rally-scenarios were updated and mocking of CONF.benchmark was excluded from unit-tests. Change-Id: Ibdace7bf96ff822701ee8505f1dcd232999a6fe8
This commit is contained in:
parent
92cef8ebb8
commit
46b89bbe48
1
rally-jobs/extra/default.yaml.template
Normal file
1
rally-jobs/extra/default.yaml.template
Normal file
@ -0,0 +1 @@
|
||||
heat_template_version: 2014-10-16
|
@ -571,6 +571,8 @@
|
||||
|
||||
HeatStacks.create_and_list_stack:
|
||||
-
|
||||
args:
|
||||
template_path: "/home/jenkins/.rally/extra/default.yaml.template"
|
||||
runner:
|
||||
type: "constant"
|
||||
times: 6
|
||||
@ -585,6 +587,8 @@
|
||||
|
||||
HeatStacks.create_and_delete_stack:
|
||||
-
|
||||
args:
|
||||
template_path: "/home/jenkins/.rally/extra/default.yaml.template"
|
||||
runner:
|
||||
type: "constant"
|
||||
times: 6
|
||||
|
@ -1,6 +1,9 @@
|
||||
{
|
||||
"HeatStacks.create_and_delete_stack": [
|
||||
{
|
||||
"args": {
|
||||
"template_path": "templates/default.yaml.template"
|
||||
},
|
||||
"runner": {
|
||||
"type": "constant",
|
||||
"times": 10,
|
||||
|
@ -1,6 +1,8 @@
|
||||
---
|
||||
HeatStacks.create_and_delete_stack:
|
||||
-
|
||||
args:
|
||||
template_path: "templates/default.yaml.template"
|
||||
runner:
|
||||
type: "constant"
|
||||
times: 10
|
||||
|
@ -1,6 +1,9 @@
|
||||
{
|
||||
"HeatStacks.create_and_list_stack": [
|
||||
{
|
||||
"args": {
|
||||
"template_path": "templates/default.yaml.template"
|
||||
},
|
||||
"runner": {
|
||||
"type": "constant",
|
||||
"times": 10,
|
||||
|
@ -1,6 +1,8 @@
|
||||
---
|
||||
HeatStacks.create_and_list_stack:
|
||||
-
|
||||
args:
|
||||
template_path: "templates/default.yaml.template"
|
||||
runner:
|
||||
type: "constant"
|
||||
times: 10
|
||||
|
@ -0,0 +1 @@
|
||||
heat_template_version: 2014-10-16
|
Loading…
x
Reference in New Issue
Block a user