]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
test/librados: refactor setup/teardown in tiering tests
authorJosh Durgin <josh.durgin@inktank.com>
Mon, 3 Feb 2014 09:00:49 +0000 (01:00 -0800)
committerJosh Durgin <josh.durgin@inktank.com>
Tue, 18 Feb 2014 20:34:32 +0000 (12:34 -0800)
commit5276e3cc08bbcd61f04523c531f26b60ce5d62f7
tree9497a7da3c1b1314dcbc168befa5874cd778d5b5
parentae072ac2fc2893f2da994a8f88e844138e9aa8e8
test/librados: refactor setup/teardown in tiering tests

These tests can either use the standard RadosTest, with one pool, or a
new test case with two pools.

The new test case has to copy a couple lines in static methods
(working around lack of virtual static methods is more complex than
it's worth here), but the rest is straight forward. Rename
base_pool_name and base_ioctx to pool_name and ioctx to match the
member variables of the parent class RadosTest.

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
src/test/librados/tier.cc