]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
Test bytes_sent bugs. 17444/head
authorMarcus Watts <mwatts@redhat.com>
Sat, 5 Aug 2017 00:01:32 +0000 (20:01 -0400)
committerNathan Cutler <ncutler@suse.com>
Mon, 4 Sep 2017 08:50:11 +0000 (10:50 +0200)
commit7c3a82225e44305fcc5648b0f78719c0331ecca5
tree4f68cf33c24a953983a8590c924891acda185620
parent8c9805921edac7257a135873e663aea5c4316d1e
Test bytes_sent bugs.

Rearrange logic to make it easier to measure accumulation.
Instrument the boto request/response loop to count bytes in and out.
Accumulate byte counts in usage like structure.
Compare actual usage reported by ceph against local usage measured.
Report and assert if there are any short-comings.
Remove zone placement rule that was newly added at end: tests should be rerunable.

Nit: the logic to wait for "delete_obj" is not quite right.

Fixes: http://tracker.ceph.com/issues/19870
Signed-off-by: Marcus Watts <mwatts@redhat.com>
(cherry picked from commit a45ab45f74042617ec382f3d50f4d45d883042f5)
qa/tasks/radosgw_admin.py