conformance

package
v0.57.2 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Check

func Check(t *testing.T, factory Factory)

Check validates the shared coordinator contract.

func CheckDetectedLoss added in v0.57.2

func CheckDetectedLoss(
	t *testing.T,
	capability *coord.Capability,
	lease coord.WriteLease,
	sever func(),
)

CheckDetectedLoss validates the contract for a backend that declares involuntary lease-loss detection.

Types

type Factory

type Factory func(t testing.TB) (coord.Coordinator, coord.Coordinator)

Factory constructs two handles for one coordinated scope.

Jump to

Keyboard shortcuts

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