From: Jason Dillaman Date: Wed, 5 Oct 2016 01:29:31 +0000 (-0400) Subject: qa/workunits: reduce amount of client IO for rbd-mirror stress X-Git-Tag: v11.1.0~709^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=a6dd6b50d632aa6995a0f4b6fc5e1a1bda23e2a0;p=ceph.git qa/workunits: reduce amount of client IO for rbd-mirror stress Journal IO is faster now, resulting in OSDs quickly filling up under the stress test case. Signed-off-by: Jason Dillaman --- diff --git a/qa/workunits/rbd/rbd_mirror_helpers.sh b/qa/workunits/rbd/rbd_mirror_helpers.sh index 1088ae24b0d..44377f73e34 100755 --- a/qa/workunits/rbd/rbd_mirror_helpers.sh +++ b/qa/workunits/rbd/rbd_mirror_helpers.sh @@ -671,7 +671,7 @@ stress_write_image() local cluster=$1 local pool=$2 local image=$3 - local duration=$(awk 'BEGIN {srand(); print int(35 * rand()) + 15}') + local duration=$(awk 'BEGIN {srand(); print int(10 * rand()) + 5}') timeout ${duration}s ceph_test_rbd_mirror_random_write \ --cluster ${cluster} ${pool} ${image} \