summaryrefslogtreecommitdiffstats
path: root/dovetail/conf
diff options
context:
space:
mode:
authorxudan <xudan16@huawei.com>2017-09-06 21:49:26 -0400
committerxudan <xudan16@huawei.com>2017-09-06 21:55:25 -0400
commit45b1f1841b35fd8771e2aa154b2f4a5af776bd46 (patch)
tree9ea32d47a6d1f93c73465d1b9a51de67f194bd75 /dovetail/conf
parent1fb4ff1c309018d42645bfbb344d2be9dd4ac9cd (diff)
Add a patch to set ha SLA to be 30 seconds
1. According to ha test specification doc, the SLA of process recover time is 30 seconds. 2. However, the SLA in Yardstick test cases are all 20 seconds. 3. Add a patch to change the SLA in yardstick test cases. JIRA: DOVETAIL-496 Change-Id: Ib8f229fdfbb3289bf70d6ee900132b3db3a21b17 Signed-off-by: xudan <xudan16@huawei.com>
Diffstat (limited to 'dovetail/conf')
-rw-r--r--dovetail/conf/yardstick_config.yml8
1 files changed, 7 insertions, 1 deletions
diff --git a/dovetail/conf/yardstick_config.yml b/dovetail/conf/yardstick_config.yml
index 62a4abf9..f49d044d 100644
--- a/dovetail/conf/yardstick_config.yml
+++ b/dovetail/conf/yardstick_config.yml
@@ -6,11 +6,17 @@ yardstick:
config:
dir: '/home/opnfv/userconfig'
pre_condition:
- - ''
# - 'cd /home/opnfv/repos/yardstick && source tests/ci/prepare_env.sh &&
# source tests/ci/clean_images.sh && cleanup'
# - 'cd /home/opnfv/repos/yardstick && source tests/ci/prepare_env.sh &&
# source tests/ci/load_images.sh'
+ # Copy Yardstick bugfix patches to Yardstick repository
+ - "cp -r /home/opnfv/userconfig/patch/ /home/opnfv/repos/yardstick/"
+ # Config git user info for applying bugfix patches
+ - "cd /home/opnfv/repos/yardstick && git config --global user.email 'you@example.com'"
+ - "cd /home/opnfv/repos/yardstick && git config --global user.name 'Your Name'"
+ # Apply all bugfix patchs on tempest code
+ - "cd /home/opnfv/repos/yardstick && git am ./patch/*.patch"
cmds:
- 'mkdir -p /home/opnfv/yardstick/results/'
- "cd /home/opnfv/repos/yardstick && source tests/ci/prepare_env.sh &&