]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
test/common: unittest_fault_injector omits unit-main target 63979/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:01:30 +0000 (08:01 -0400)
commita31a7ec5bd912a2b6959d600d7cd4399875efac8
treee78eba1a988922dadcae66daaf7b8729646c6262
parent13e3b7d64ebaf3351c6c6126d9f0ef43908c790d
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