tsparams

package
v0.0.0-...-eb21379 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	// LabelSuite represents policy label that can be used for test cases selection.
	LabelSuite = "policy"
	// TestNamespaceName policy namespace where all test cases are performed.
	TestNamespaceName = "policy-tests"
)

Variables

View Source
var (
	// Labels represents the range of labels that can be used for test cases selection.
	Labels = append(netparam.Labels, LabelSuite)
	// DefaultTimeout represents the default timeout for most of Eventually/PollImmediate functions.
	DefaultTimeout = 300 * time.Second
	// ReporterNamespacesToDump tells to the reporter from where to collect logs.
	ReporterNamespacesToDump = map[string]string{
		NetConfig.SriovOperatorNamespace: NetConfig.SriovOperatorNamespace,
		NetConfig.MultusNamesapce:        NetConfig.MultusNamesapce,
		TestNamespaceName:                "other",
	}
	// ReporterCRDsToDump tells to the reporter what CRs to dump.
	ReporterCRDsToDump = []k8sreporter.CRData{
		{Cr: &mcfgv1.MachineConfigPoolList{}},
		{Cr: &sriovv1.SriovNetworkNodePolicyList{}},
		{Cr: &sriovv1.SriovNetworkList{}},
		{Cr: &sriovv1.SriovNetworkNodeStateList{}},
		{Cr: &sriovv1.SriovOperatorConfigList{}},
		{Cr: &nadv1.NetworkAttachmentDefinitionList{}},
		{Cr: &multinetpolicyapiv1.MultiNetworkPolicyList{}},
	}

	// MCOWaitTimeout represents timeout for mco operations.
	MCOWaitTimeout = time.Hour
	// MultiNetworkPolicyDSName represents multi-networkPolicy daemonSet name.
	MultiNetworkPolicyDSName = "multus-networkpolicy"
	// WaitTimeout represents timeout for the most ginkgo Eventually functions.
	WaitTimeout = 3 * time.Minute
	// RetryInterval represents retry interval for the most ginkgo Eventually functions.
	RetryInterval = 3 * time.Second
	// WaitTrafficTimeout represents timeout for the traffic Eventually functions.
	WaitTrafficTimeout = 1 * time.Minute
	// RetryTrafficInterval represents retry interval for the traffic Eventually functions.
	RetryTrafficInterval = 20 * time.Second
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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