]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
test: use death_test_style="threadsafe" for Mutex.NormalAsserts 23320/head
authorKefu Chai <kchai@redhat.com>
Mon, 30 Jul 2018 13:29:03 +0000 (21:29 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 3 Aug 2018 02:02:34 +0000 (10:02 +0800)
commit1739d6b77796026d0e3e7cf49aa90e1728e622cc
tree37cb519c6417bc0af17763f3a5341dcc271f926b
parent38e344659980dded622322d42a7742c0e50107f8
test: use death_test_style="threadsafe" for Mutex.NormalAsserts

use threadsafe for running the Mutex assert test to run the test from
beginning to avoid the hang. this test overrides the symbol of
ceph::__ceph_assert_fail() with a local one offered by the application
links against libceph-common. but we intentionally forbid this behavior:
we do not allow libceph-common to reference the symbols exposed from
application with the same name. see http://tracker.ceph.com/issues/25154

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/test/common/test_mutex.cc