cluster

package
v0.0.0-...-729cd59 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ComputeTestTimeout

func ComputeTestTimeout(baseTimeout time.Duration, isSno bool) time.Duration

ComputeTestTimeout returns the desired timeout for a test based on a given base timeout. If the tested cluster is Single-Node it needs more time to react (due to being highly loaded) so we double the given timeout.

func IsSingleNode

func IsSingleNode() (bool, error)

IsSingleNode validates if the environment is single node cluster

Types

This section is empty.

Jump to

Keyboard shortcuts

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