From e89afb1aa641039b02ca0322680289eab7c9bdb8 Mon Sep 17 00:00:00 2001 From: Juha Kosonen Date: Fri, 31 Aug 2018 17:04:55 +0300 Subject: Refactor RallyBase This provides a more generic way to integrate test case lists which are not hosted in Functest. Also removes vm scenarios since they have never been a part of actual rally runs. Change-Id: Ib0a020fe72800915bbf2d10ecc690a248d33c246 Signed-off-by: Juha Kosonen --- .../openstack/rally/scenario/support/instance_dd_test.sh | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 functest/opnfv_tests/openstack/rally/scenario/support/instance_dd_test.sh (limited to 'functest/opnfv_tests/openstack/rally/scenario/support/instance_dd_test.sh') diff --git a/functest/opnfv_tests/openstack/rally/scenario/support/instance_dd_test.sh b/functest/opnfv_tests/openstack/rally/scenario/support/instance_dd_test.sh deleted file mode 100644 index e3bf23405..000000000 --- a/functest/opnfv_tests/openstack/rally/scenario/support/instance_dd_test.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/sh -time_seconds(){ (time -p $1 ) 2>&1 |awk '/real/{print $2}'; } -file=/tmp/test.img -c=${1:-$SIZE} -c=${c:-1000} #default is 1GB -write_seq=$(time_seconds "dd if=/dev/zero of=$file bs=1M count=$c") -read_seq=$(time_seconds "dd if=$file of=/dev/null bs=1M count=$c") -[ -f $file ] && rm $file - -echo "{ - \"write_seq_${c}m\": $write_seq, - \"read_seq_${c}m\": $read_seq - }" -- cgit 1.2.3-korg