From: Adam Kupczyk Date: Tue, 21 Jan 2025 17:09:57 +0000 (+0000) Subject: qa/standalone: Expand testing cases X-Git-Tag: v19.2.3~334^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=0665d62cac18f0766f4c3b5a375dd9ae942e7163;p=ceph.git qa/standalone: Expand testing cases Now randomly select Allocator File / Allocations on RockDB. Signed-off-by: Adam Kupczyk (cherry picked from commit cc1bd71f4ed36303f48ce45f353cfe224a90f29c) --- diff --git a/qa/standalone/osd/osd-bluefs-volume-ops.sh b/qa/standalone/osd/osd-bluefs-volume-ops.sh index f7424de8ce13..175425601200 100755 --- a/qa/standalone/osd/osd-bluefs-volume-ops.sh +++ b/qa/standalone/osd/osd-bluefs-volume-ops.sh @@ -33,6 +33,8 @@ function TEST_bluestore() { CEPH_ARGS+="--bluestore_block_wal_size=536870912 " CEPH_ARGS+="--bluestore_block_wal_create=true " CEPH_ARGS+="--bluestore_fsck_on_mount=true " + #choosing randomly allocation from file + CEPH_ARGS+="--bluestore_allocation_from_file=$((RANDOM % 2)) " run_mon $dir a || return 1 run_mgr $dir x || return 1 @@ -465,7 +467,7 @@ function TEST_bluestore_expand() { total_space_after=$( ceph tell osd.0 perf dump bluefs | jq ".bluefs.slow_total_bytes" ) free_space_after=`ceph tell osd.0 bluestore bluefs device info | grep "BDEV_SLOW" -A 2 | grep free | cut -d':' -f 2 | cut -d"," -f 1 | cut -d' ' -f 2` - if [$total_space_after != $requested_space]; then + if [ $total_space_after != $requested_space ]; then echo "total_space_after = $total_space_after" echo "requested_space = $requested_space" return 1;