]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
test: use death_test_style="threadsafe" for Mutex.NormalAsserts 24708/head
authorKefu Chai <kchai@redhat.com>
Mon, 30 Jul 2018 13:29:03 +0000 (21:29 +0800)
committerNathan Cutler <ncutler@suse.com>
Tue, 23 Oct 2018 06:08:28 +0000 (08:08 +0200)
commit0136defd0a99d825148cc67b0cd6e635dc939c9a
treefb948660069c73be6061186329a6291a9bfc9f36
parent127fae75f52419eae98794368ba1b63468227026
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>
(cherry picked from commit 1739d6b77796026d0e3e7cf49aa90e1728e622cc)
src/test/common/test_mutex.cc