systemtest

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const BindHost = "127.0.0.1"

BindHost host to bind to in local smoke tests

Variables

This section is empty.

Functions

func DynamicPort

func DynamicPort() int

DynamicPort supplies random free net ports to use

func RunMainWithConfig

func RunMainWithConfig(ctx context.Context, t *testing.T, yamlConfig string, port int, test func(t *testing.T, conn net.Conn))

RunMainWithConfig run app in test suite

func TerminateContainer

func TerminateContainer(ctx context.Context, container tc.Container) error

TerminateContainer terminates container if present

Types

This section is empty.

Jump to

Keyboard shortcuts

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