]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
test: use librados API to retrieve config params
authorJason Dillaman <dillaman@redhat.com>
Tue, 24 Jan 2017 02:24:41 +0000 (21:24 -0500)
committerJason Dillaman <dillaman@redhat.com>
Tue, 24 Jan 2017 14:29:59 +0000 (09:29 -0500)
commit2ed02f3cd56bf89984c3538ac3f21ec2321cd3b7
tree7f7c4f823c8be1aac9084a5e8d2c77b793a66222
parentb2df030a5075484cf8122eb4785e277f3f40eff6
test: use librados API to retrieve config params

The CephContext object is not ABI-stable, so it is necessary to
use the "conf_get" librados methods to safely retrieve a setting.

Fixes: http://tracker.ceph.com/issues/18617
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/test/librbd/test_librbd.cc