jobqtest

package
v1.126.3 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2025 License: AGPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(t *testing.T, test func(ctx *testcontext.Context, t *testing.T, rq queue.RepairQueue))

Run runs the given test function with a new test context and a new repair queue connected to a running jobq server. The server is shut down when the function returns.

func WithServer added in v1.126.2

func WithServer(t *testing.T, f func(ctx *testcontext.Context, config jobq.Config))

WithServer runs the given function with a new test context and a new jobq server. The config for connecting to the server is given to the test function. The server is shut down when the function returns.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳