]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
test/rgw: test_datalog_autotrim filters out new entries
authorCasey Bodley <cbodley@redhat.com>
Mon, 15 Jun 2020 15:45:11 +0000 (11:45 -0400)
committerCasey Bodley <cbodley@redhat.com>
Tue, 1 Sep 2020 12:47:14 +0000 (08:47 -0400)
commitabd08f1843642e318d74dfadb0f9cf1f6b86d827
tree36c255baae40688f9b9d8fe91fd9b96a52800a08
parent54065da1c4e804f07f00eaa4c46777df1811bd7a
test/rgw: test_datalog_autotrim filters out new entries

if other sync activity is racing with test_datalog_autotrim, it can
create new datalog entries after the 'datalog autotrim' command runs

instead of asserting that the datalog is empty after trim, assert that
any entries have a marker larger than the max-marker reported by
'datalog status' before the trim

Fixes: https://tracker.ceph.com/issues/45626
Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/test/rgw/rgw_multi/tests.py