From: Sridhar Seshasayee Date: Thu, 17 Jun 2021 11:41:58 +0000 (+0530) Subject: qa/standalone/erasure-code: Modify erasure-code tests for mclock scheduler X-Git-Tag: v17.1.0~1244^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=f658ff3511237d689e82a7f42188c5de9e3d1089;p=ceph.git qa/standalone/erasure-code: Modify erasure-code tests for mclock scheduler Modified test cases: 1. test-erasure-eio.sh: a. Test_ec_backfill_unfound(): - Set osd_mclock_profile to high_recovery_ops profile. - Increase the wait for backfill_unfound timeout to 240 secs. Signed-off-by: Sridhar Seshasayee --- diff --git a/qa/standalone/erasure-code/test-erasure-eio.sh b/qa/standalone/erasure-code/test-erasure-eio.sh index 5ee7e3a9f6c..e08c68377f6 100755 --- a/qa/standalone/erasure-code/test-erasure-eio.sh +++ b/qa/standalone/erasure-code/test-erasure-eio.sh @@ -26,6 +26,7 @@ function run() { export CEPH_ARGS CEPH_ARGS+="--fsid=$(uuidgen) --auth-supported=none " CEPH_ARGS+="--mon-host=$CEPH_MON " + CEPH_ARGS+="--osd-mclock-profile=high_recovery_ops " local funcs=${@:-$(set | sed -n -e 's/^\(TEST_[0-9a-z_]*\) .*/\1/p')} for func in $funcs ; do @@ -548,7 +549,7 @@ function TEST_ec_backfill_unfound() { sleep 15 - for tmp in $(seq 1 100); do + for tmp in $(seq 1 240); do state=$(get_state 2.0) echo $state | grep backfill_unfound if [ "$?" = "0" ]; then