teste2e

package
v1.49.1 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2024 License: MPL-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// TestImage is the system image that is used in all tests
	TestImage = getEnv("TEST_IMAGE", "ubuntu-24.04")

	// TestImage is the system image ID that is used in all tests
	TestImageID = getEnv("TEST_IMAGE_ID", "161547269")

	// TestServerType is the default server type used in all tests
	TestServerType = getEnv("TEST_SERVER_TYPE", "cpx11")

	// TestServerTypeUpgrade is the upgrade server type used in all tests
	TestServerTypeUpgrade = getEnv("TEST_SERVER_TYPE_UPGRADE", "cpx21")

	// TestArchitecture is the default architecture used in all tests, should match the architecture of the TestServerType.
	TestArchitecture = getEnv("TEST_ARCHITECTURE", string(hcloud.ArchitectureX86))

	// TestLoadBalancerType is the default Load Balancer type used in all tests
	TestLoadBalancerType = "lb11"

	// TestDataCenter is the default datacenter where we execute our tests.
	TestDataCenter = getEnv("TEST_DATACENTER", "nbg1-dc3")

	// TestLocationName is the default location where we execute our tests.
	TestLocationName = getEnv("TEST_LOCATION", "nbg1")
)

Functions

func PreCheck

func PreCheck(t *testing.T) func()

PreCheck checks if all conditions for an acceptance test are met.

func ProtoV6ProviderFactories

func ProtoV6ProviderFactories() map[string]func() (tfprotov6.ProviderServer, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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