]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/standalone/erasure-code: Modify erasure-code tests for mclock scheduler
authorSridhar Seshasayee <sseshasa@redhat.com>
Thu, 17 Jun 2021 11:41:58 +0000 (17:11 +0530)
committerSridhar Seshasayee <sseshasa@redhat.com>
Fri, 30 Jul 2021 12:46:00 +0000 (18:16 +0530)
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 <sseshasa@redhat.com>
qa/standalone/erasure-code/test-erasure-eio.sh

index 5ee7e3a9f6c9a7ec44a9db42c9a3ac9f2dee7ec0..e08c68377f6977d5438815449e1519981abd455b 100755 (executable)
@@ -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