diff options
author | Juha Kosonen <juha.kosonen@nokia.com> | 2018-08-31 17:04:55 +0300 |
---|---|---|
committer | Juha Kosonen <juha.kosonen@nokia.com> | 2018-09-03 14:04:29 +0300 |
commit | e89afb1aa641039b02ca0322680289eab7c9bdb8 (patch) | |
tree | 67b19958a18c5f5c41512a92a1f2c0a617a2f800 /functest/opnfv_tests/openstack/rally/scenario/support/instance_dd_test.sh | |
parent | 57bd36e426ef797cbc66f4031d612701671f7252 (diff) |
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 <juha.kosonen@nokia.com>
Diffstat (limited to 'functest/opnfv_tests/openstack/rally/scenario/support/instance_dd_test.sh')
-rw-r--r-- | functest/opnfv_tests/openstack/rally/scenario/support/instance_dd_test.sh | 13 |
1 files changed, 0 insertions, 13 deletions
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 - }" |