]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
common: FaultInjector supports InjectDelay
authorCasey Bodley <cbodley@redhat.com>
Wed, 24 May 2023 17:14:55 +0000 (13:14 -0400)
committerCory Snyder <csnyder@1111systems.com>
Tue, 18 Jul 2023 15:31:12 +0000 (15:31 +0000)
commit9627f87bb956e3cea35b89d20d0a35a4230fc824
tree2a209ac7568dc2490e6eefe3095c91320d14328a
parent042cd51a2f0b8926363c2237e303a8df25c73519
common: FaultInjector supports InjectDelay

instead of injecting an error code or assertion failure, InjectDelay
just injects an artificial delay before returning success

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 86cb15d3a53cff6f562baa9461f79549c6b82b88)
src/common/fault_injector.h