test

package
v1.1.6-rc1 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const TimeToWaitForHealthy = 50 * time.Millisecond
View Source
const TimeToWaitForServerReply = 10 * time.Second

Variables

This section is empty.

Functions

func WaitFor

func WaitFor(ctx context.Context, c *client.Client, condition func(context.Context, *client.Client) bool) error

func WaitForAlive

func WaitForAlive(ctx context.Context, c *client.Client) error

WaitForAlive waits for the server to be alive

func WaitForNodes

func WaitForNodes(ctx context.Context, c *client.Client) error

WaitForNodes waits for the server to be alive and for the node to discover itself

Types

This section is empty.

Jump to

Keyboard shortcuts

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