]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mon/OSDMonitor: test crush with fork but not crushtool spawn
authorSage Weil <sage@redhat.com>
Thu, 29 Jun 2017 19:14:40 +0000 (15:14 -0400)
committerSage Weil <sage@redhat.com>
Fri, 7 Jul 2017 15:11:24 +0000 (11:11 -0400)
commite189f11fcde6829cc7f86894b913bc1a3f81ecfe
tree71e93bcdb8d56fb712c68fed3fc00b65b01dbfbd
parent55f76d5ad89b9a8c2a4a7d25b4f97c15d7e7d148
mon/OSDMonitor: test crush with fork but not crushtool spawn

We see timeouts here, but I very much suspect they are due to the overhead
of launching the crushtool process and not the test itself.  We have
perfectly code already in our process, though; we just want to isolate
failure and time out reliably.  So, fork and timeout, without executing
a new binary.

Hopefully-fixes: http://tracker.ceph.com/issues/19964
Signed-off-by: Sage Weil <sage@redhat.com>
src/crush/CrushTester.cc
src/crush/CrushTester.h
src/mon/OSDMonitor.cc