stress

package
v6.2.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2018 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunTests

func RunTests(
	info beat.Info,
	duration time.Duration,
	cfg *common.Config,
	errors func(err error),
) error

RunTests executes the pipeline stress tests. The test stops after the test duration has passed, or runs infinitely if duration is <= 0. The configuration passed must contain the generator settings, the queue setting and the test output settings, used to drive the test. If `errors` is not nil, internal errors are reported to this callback. A watchdog checking for progress is only started if the `errors` callback is set. RunTests returns and error if test setup failed, but without `errors` some internal errors might not visible.

Types

This section is empty.

Jump to

Keyboard shortcuts

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