leakutil

package
v0.0.0-...-be15534 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetUpLeakTest

func SetUpLeakTest(m *testing.M, options ...goleak.Option)

SetUpLeakTest ignore unexpected common etcd and opencensus stack functions for goleak options can be used to implement other ignore items

func VerifyNone

func VerifyNone(t *testing.T, options ...goleak.Option)

VerifyNone verifies that no unexpected leaks occur Note that this function is incompatible with `t.Parallel()`

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL