tests

package
v1.30.0 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2026 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunClusterTests

func RunClusterTests(t *testing.T, s cluster.Store, teardown func())

RunClusterTests runs the membership/routing/ownership runtime suite against a cluster.Store implementation, calling teardown between tests.

func RunE2ETests

func RunE2ETests(t *testing.T, s cluster.Store, teardown func())

RunE2ETests runs the end-to-end suite against a cluster.Store implementation, calling teardown between tests.

func RunProductionTimingTests

func RunProductionTimingTests(t *testing.T, s cluster.Store, teardown func())

RunProductionTimingTests exercises the cluster at true production defaults — 5s heartbeats, 2s polls, 15s liveness, the 7s suspicion floor — rather than the scaled-down configs the fast suites use. The point is the production *relationships* between the knobs: suspicion patience before displacement, failover well inside the liveness window, drains bounded by DrainDeadline, and no spurious session shedding under real cadences. Wall clock is tens of seconds; gate it behind the integration tag.

func RunStoreTests

func RunStoreTests(t *testing.T, s cluster.Store, teardown func())

RunStoreTests runs the store contract suite against a cluster.Store implementation, calling teardown between tests.

Types

This section is empty.

Jump to

Keyboard shortcuts

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