From 7bd43b239b7be6f478399526a177922d4482bcc2 Mon Sep 17 00:00:00 2001
From: rexlee8776 <limingjiang@huawei.com>
Date: Thu, 16 Nov 2017 08:49:16 +0000
Subject: 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>
---
 tests/opnfv/test_cases/opnfv_yardstick_tc078.yaml | 16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)
 mode change 100644 => 100755 tests/opnfv/test_cases/opnfv_yardstick_tc078.yaml

(limited to 'tests')

diff --git a/tests/opnfv/test_cases/opnfv_yardstick_tc078.yaml b/tests/opnfv/test_cases/opnfv_yardstick_tc078.yaml
old mode 100644
new mode 100755
index d20045b25..e5cf6ce36
--- 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
 
-- 
cgit