From a6dd6b50d632aa6995a0f4b6fc5e1a1bda23e2a0 Mon Sep 17 00:00:00 2001 From: Jason Dillaman Date: Tue, 4 Oct 2016 21:29:31 -0400 Subject: [PATCH] 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 --- qa/workunits/rbd/rbd_mirror_helpers.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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} \ -- 2.47.3