]> 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 02:46:31 +0000 (21:46 -0500)
commitc5976ac36751e15fd81c67945a2c6d049dc7b316
treea1f24f465ea6ec4823e60b296cebd19aac391240
parente4d348b3d850465ae25d7b3cbc8f21fac20ae478
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>
(cherry picked from commit 8ad40645ac3948f8341e9a80ce8aff8ac5b9ad11)

Conflicts:
src/test/librbd/test_librbd.cc: trivial resolution
src/test/librbd/test_librbd.cc