]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
test/rgw: add ceph_test_cls_rgw_stats simulator
authorCasey Bodley <cbodley@redhat.com>
Sun, 7 Nov 2021 15:13:43 +0000 (10:13 -0500)
committerCasey Bodley <cbodley@redhat.com>
Fri, 19 Nov 2021 17:13:33 +0000 (12:13 -0500)
commitb3f1c52896d50986a2357c5e1c4ae5d3c6cca18c
treee4379c98c383a40ad95a144181e3caa6ca82e7f8
parentc81f2fedf20d2241aa8ddfdb95c053d14854a8bd
test/rgw: add ceph_test_cls_rgw_stats simulator

a simulator that generates lots of create/delete operations against a
set of object names, and tracks the expected bucket stats for comparison

each operation has a 70% chance to complete successfully, a 10% chance to
cancel, 10% chance to suggest update, and 10% chance to suggest removal

Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/test/cls_rgw/CMakeLists.txt
src/test/cls_rgw/test_cls_rgw_stats.cc [new file with mode: 0644]