]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
test/common: unittest_fault_injector omits unit-main target 63980/head
authorCasey Bodley <cbodley@redhat.com>
Mon, 9 Jun 2025 13:10:40 +0000 (09:10 -0400)
committerCasey Bodley <cbodley@redhat.com>
Tue, 17 Jun 2025 12:02:11 +0000 (08:02 -0400)
commit763f1efe754ffcc883dd86dec16323077e6085d8
treeeccdf361f3633262a1b7cca05d7eddb83b177c40
parent339ee744fb98ba5d28d044409a98bd99e8203481
test/common: unittest_fault_injector omits unit-main target

unittest_fault_injector includes death tests for InjectAbort coverage,
and death tests don't play nicely with threads. the unit-main target
provides a main() function that initializes a g_ceph_context and starts
its associated threads. omit unit-main to prevent the log thread from
starting

Fixes: https://tracker.ceph.com/issues/71600
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit bac78660c0338b33d092ab571f9347e6605aa0c4)
src/test/common/CMakeLists.txt