testing

package
v1.0.0-alpha.4.3 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2020 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetupSlasherDB

func SetupSlasherDB(t testing.TB, spanCacheEnabled bool) *kv.Store

SetupSlasherDB instantiates and returns a SlasherDB instance.

func SetupSlasherDBDiffCacheSize

func SetupSlasherDBDiffCacheSize(t testing.TB, cacheItems int64, maxCacheSize int64) *kv.Store

SetupSlasherDBDiffCacheSize instantiates and returns a SlasherDB instance with non default cache size.

func TeardownSlasherDB

func TeardownSlasherDB(t testing.TB, db *kv.Store)

TeardownSlasherDB cleans up a test SlasherDB instance.

Types

This section is empty.

Jump to

Keyboard shortcuts

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