MCPcopy Create free account

hub / github.com/fortytw2/leaktest / functions

Functions17 in github.com/fortytw2/leaktest

↓ 12 callersMethodErrorf
(format string, args ...interface{})
leaktest.go:97
↓ 4 callersFunctionCheckTimeout
CheckTimeout is the same as Check, but with a configurable timeout
leaktest.go:108
↓ 3 callersFunctioninterestingGoroutine
(g string)
leaktest.go:33
↓ 2 callersFunctionCheckContext
CheckContext is the same as Check, but uses a context.Context for cancellation and timeout control
leaktest.go:122
↓ 2 callersFunctioninterestingGoroutines
interestingGoroutines returns all goroutines we care about for the purpose of leak checking. It excludes testing or runtime ones.
leaktest.go:76
↓ 1 callersFunctionindex
()
leaktest_utils_test.go:10
↓ 1 callersFunctionstartKeepAliveEnabledServer
(ctx context.Context)
leaktest_utils_test.go:16
FunctionCheck
Check snapshots the currently-running goroutines and returns a function to be run at the end of tests to see whether any goroutines leaked, waiting up
leaktest.go:103
MethodErrorf
(format string, args ...interface{})
leaktest_test.go:19
MethodLen
()
leaktest.go:29
MethodLess
(i, j int)
leaktest.go:30
MethodSwap
(i, j int)
leaktest.go:31
FunctionTestChangingStackTrace
TestChangingStackTrace validates that a change in a preexisting goroutine's stack is not detected as a leaked goroutine.
leaktest_test.go:156
FunctionTestCheck
(t *testing.T)
leaktest_test.go:27
FunctionTestEmptyLeak
(t *testing.T)
leaktest_test.go:147
FunctionTestInterestingGoroutine
(t *testing.T)
leaktest_test.go:173
FunctionTestSlowTest
TestSlowTest verifies that the timeout works on slow tests: it should be based on time after the test finishes rather than time after the test's start
leaktest_test.go:140