testutils

package
v0.0.0-...-5e4bb28 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2017 License: Apache-2.0, CC-BY-SA-4.0 Imports: 7 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunCleanup

func RunCleanup(t *testing.T, kv store.Store)

RunCleanup cleans up keys introduced by the tests

func RunTestAtomic

func RunTestAtomic(t *testing.T, kv store.Store)

RunTestAtomic tests the Atomic operations by the K/V backends

func RunTestCommon

func RunTestCommon(t *testing.T, kv store.Store)

RunTestCommon tests the minimal required APIs which should be supported by all K/V backends

func RunTestListLock

func RunTestListLock(t *testing.T, kv store.Store)

RunTestListLock tests the list output for mutexes and checks that internal side keys are not listed

func RunTestLock

func RunTestLock(t *testing.T, kv store.Store)

RunTestLock tests the KV pair Lock/Unlock APIs supported by the K/V backends.

func RunTestLockTTL

func RunTestLockTTL(t *testing.T, kv store.Store, backup store.Store)

RunTestLockTTL tests the KV pair Lock with TTL APIs supported by the K/V backends.

func RunTestTTL

func RunTestTTL(t *testing.T, kv store.Store, backup store.Store)

RunTestTTL tests the TTL functionality of the K/V backend.

func RunTestWatch

func RunTestWatch(t *testing.T, kv store.Store)

RunTestWatch tests the watch/monitor APIs supported by the K/V backends.

Types

This section is empty.

Jump to

Keyboard shortcuts

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