Skip to content
Snippets Groups Projects
Commit 853ca1a3 authored by Elena Gryaznova's avatar Elena Gryaznova
Browse files

b=16293

i=Adilger
force replay-ost-single test_5 to be skipped (not pass) if iozone missing;
add it to SLOW list
parent e6581008
No related branches found
No related tags found
No related merge requests found
...@@ -22,7 +22,7 @@ CPU=`awk '/model/ {print $4}' /proc/cpuinfo` ...@@ -22,7 +22,7 @@ CPU=`awk '/model/ {print $4}' /proc/cpuinfo`
ALWAYS_EXCEPT="$REPLAY_OST_SINGLE_EXCEPT" ALWAYS_EXCEPT="$REPLAY_OST_SINGLE_EXCEPT"
# #
[ "$SLOW" = "no" ] && EXCEPT_SLOW="" [ "$SLOW" = "no" ] && EXCEPT_SLOW="5"
# It is replay-ost-single, after all # It is replay-ost-single, after all
OSTCOUNT=1 OSTCOUNT=1
...@@ -97,7 +97,7 @@ test_4() { ...@@ -97,7 +97,7 @@ test_4() {
run_test 4 "Fail OST during read, with verification" run_test 4 "Fail OST during read, with verification"
test_5() { test_5() {
[ -z "`which iozone 2> /dev/null`" ] && log "iozone missing" && return [ -z "`which iozone 2> /dev/null`" ] && skip "iozone missing" && return 0
FREE=`df -P $DIR | tail -n 1 | awk '{ print $4/2 }'` FREE=`df -P $DIR | tail -n 1 | awk '{ print $4/2 }'`
GB=1048576 # 1048576KB == 1GB GB=1048576 # 1048576KB == 1GB
if (( FREE > GB )); then if (( FREE > GB )); then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment