]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
test: use config set_val_or_die instead of set_val
authorJohn Spray <john.spray@redhat.com>
Thu, 20 Jul 2017 15:53:38 +0000 (11:53 -0400)
committerJohn Spray <john.spray@redhat.com>
Fri, 21 Jul 2017 10:27:30 +0000 (06:27 -0400)
commit7267065cdf258556a68ca39dc4f9922e8b418942
tree4dd930f256ef32863efd5d72f72a4dbe336abf7c
parent4340f4b6c6793f361d8645ff3e0776224e586942
test: use config set_val_or_die instead of set_val

...in places that the return code was not being checked.

This fixes cases where an error in the config schema or the
value being passed in would cause weird failures beacuse the
set_val had not taken effect.

Signed-off-by: John Spray <john.spray@redhat.com>
src/common/config.cc
src/common/config.h
src/test/erasure-code/TestErasureCodeShec_all.cc
src/test/erasure-code/TestErasureCodeShec_arguments.cc
src/test/erasure-code/ceph_erasure_code.cc
src/test/erasure-code/ceph_erasure_code_non_regression.cc
src/test/unit.cc