summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorrexlee8776 <limingjiang@huawei.com>2017-11-16 08:49:16 +0000
committerrexlee8776 <limingjiang@huawei.com>2017-12-13 02:46:28 +0000
commit7bd43b239b7be6f478399526a177922d4482bcc2 (patch)
tree6203df4e3a3d18fcc769c82e768bc5213b281151 /tests
parentce52059f5f78912eeff2d97235c1028c218bf960 (diff)
bugfix: tc078 fails in some situations
1. make "SPECint_benchmark, runspec_iterations, runspec_tune, runspec_size, runspec_rate" parameterized and change the default value "int^429" to "int" 2. remove "become: true" in some roles since it does not need root privilege JIRA: YARDSTICK-852 Change-Id: Icb384bddc12911e2681a981d0504e0e142d1a8ec Signed-off-by: rexlee8776 <limingjiang@huawei.com>
Diffstat (limited to 'tests')
-rwxr-xr-x[-rw-r--r--]tests/opnfv/test_cases/opnfv_yardstick_tc078.yaml16
1 files changed, 10 insertions, 6 deletions
diff --git a/tests/opnfv/test_cases/opnfv_yardstick_tc078.yaml b/tests/opnfv/test_cases/opnfv_yardstick_tc078.yaml
index d20045b25..e5cf6ce36 100644..100755
--- a/tests/opnfv/test_cases/opnfv_yardstick_tc078.yaml
+++ b/tests/opnfv/test_cases/opnfv_yardstick_tc078.yaml
@@ -10,22 +10,26 @@
schema: "yardstick:task:0.1"
description: >
- Yardstick TC078 config file;
Measure CPU performance using SPEC CPU2006;
{% set file = file or "/etc/yardstick/pod.yaml" %}
{% set host = host or 'node1' %}
+{% set benchmark = benchmark or 'int' %}
+{% set runspec_iterations = runspec_iterations or 1 %}
+{% set runspec_tune = runspec_tune or 'base' %}
+{% set runspec_size = runspec_size or 'ref' %}
+{% set runspec_rate = runspec_rate or 1 %}
scenarios:
-
type: SpecCPU2006
options:
- SPECint_benchmark: int^429
- runspec_iterations: 1
- runspec_tune: base
- runspec_size: ref
- runspec_rate: 1
+ SPECint_benchmark: {{benchmark}}
+ runspec_iterations: {{runspec_iterations}}
+ runspec_tune: {{runspec_tune}}
+ runspec_size: {{runspec_size}}
+ runspec_rate: {{runspec_rate}}
host: {{host}}.yardstick-TC078