From 45b1f1841b35fd8771e2aa154b2f4a5af776bd46 Mon Sep 17 00:00:00 2001 From: xudan Date: Wed, 6 Sep 2017 21:49:26 -0400 Subject: 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 --- dovetail/conf/yardstick_config.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'dovetail/conf/yardstick_config.yml') 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 && -- cgit 1.2.3-korg