MCPcopy Create free account
hub / github.com/pingcap/failpoint / Enable

Function Enable

failpoints.go:254–256  ·  view source on GitHub ↗

Enable sets a failpoint to a given failpoint description.

(failpath, inTerms string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 5

TestFailpointsFunction · 0.92
testPanicFunction · 0.92
TestWithHookFunction · 0.92
TestConcurrentFunction · 0.92
initFunction · 0.85

Calls 1

EnableMethod · 0.45

Tested by 4

TestFailpointsFunction · 0.74
testPanicFunction · 0.74
TestWithHookFunction · 0.74
TestConcurrentFunction · 0.74

Used in the wild real call sites across dependent graphs

searching dependent graphs…