diff options
author | shravani <shravani.p@tcs.com> | 2016-10-19 04:15:36 -0700 |
---|---|---|
committer | shravani <shravani.p@tcs.com> | 2016-10-19 04:22:01 -0700 |
commit | a5808cbda1855d72a3c360c85980c4fdd9d1ffc0 (patch) | |
tree | 867e68eaa94e4f95e99f3eb4b85aecbf0b646db3 /ci | |
parent | 16cd1036c486ffb3649e3c79332ce4cd6499002a (diff) |
This patch contains scripts to update the measurement name as
kvmfornfv_cyclictest_idle_idle in influxdb
Change-Id: I70c5e06e38410cde83a1809393a4f783215b36ad
Signed-off-by: Shravani <shravani.p@tcs.com>
Diffstat (limited to 'ci')
-rwxr-xr-x | ci/cyclicTestTrigger.sh | 8 | ||||
-rwxr-xr-x | ci/envs/cyclictest.sh | 2 | ||||
-rwxr-xr-x | ci/test_kvmfornfv.sh | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/ci/cyclicTestTrigger.sh b/ci/cyclicTestTrigger.sh index d8370fd71..6241452a2 100755 --- a/ci/cyclicTestTrigger.sh +++ b/ci/cyclicTestTrigger.sh @@ -29,12 +29,12 @@ function verifyGuestImage { fi } -#Updating the pod.yaml file with HOST_IP,cyclictest-node-context.yaml with loops and interval +#Updating the pod.yaml file with HOST_IP,kvmfornfv_cyclictest_idle_idle.yaml with loops and interval function updateYaml { cd $WORKSPACE/tests/ sed -ri "s/[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}/${HOST_IP}/" pod.yaml - sed -ri "s/loops: [0-9]*/loops: ${testTime}/" cyclictest-node-context.yaml - sed -ri "0,/interval: [0-9]*/s//interval: 1000/" cyclictest-node-context.yaml + sed -ri "s/loops: [0-9]*/loops: ${testTime}/" kvmfornfv_cyclictest_idle_idle.yaml + sed -ri "0,/interval: [0-9]*/s//interval: 1000/" kvmfornfv_cyclictest_idle_idle.yaml } #cleaning the environment after executing the test through yardstick. @@ -83,7 +83,7 @@ function runCyclicTest { #copying required files to run yardstick cyclic testcase mv $WORKSPACE/build_output/kernel-${KERNELRPM_VERSION}*.rpm ${volume}/rpm cp -r $WORKSPACE/ci/envs/* ${volume}/scripts - cp -r $WORKSPACE/tests/cyclictest-node-context.yaml ${volume} + cp -r $WORKSPACE/tests/kvmfornfv_cyclictest_idle_idle.yaml ${volume} cp -r $WORKSPACE/tests/pod.yaml ${volume}/scripts #Launching ubuntu docker container to run yardstick diff --git a/ci/envs/cyclictest.sh b/ci/envs/cyclictest.sh index c5b980d77..8f0993032 100755 --- a/ci/envs/cyclictest.sh +++ b/ci/envs/cyclictest.sh @@ -9,7 +9,7 @@ source utils.sh testType=$1 #daily/verify/merge HOST_IP=$( getHostIP ) pod_config='/opt/scripts/pod.yaml' -cyclictest_context_file='/opt/cyclictest-node-context.yaml' +cyclictest_context_file='/opt/kvmfornfv_cyclictest_idle_idle.yaml' if [ ! -f ${pod_config} ] ; then echo "file ${pod_config} not found" diff --git a/ci/test_kvmfornfv.sh b/ci/test_kvmfornfv.sh index c739e807e..e9f520059 100755 --- a/ci/test_kvmfornfv.sh +++ b/ci/test_kvmfornfv.sh @@ -31,7 +31,7 @@ if ! verifyGuestImage;then exit 1 fi -#Update cyclictest-node-context.yaml with test_time and pod.yaml with IP +#Update kvmfornfv_cyclictest_idle_idle.yaml with test_time and pod.yaml with IP updateYaml #Cleaning up the test environment before running cyclictest through yardstick. |