suite

package
v0.81.0 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2026 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Overview

Package suite contains a base suite for fleet tests

Index

Constants

This section is empty.

Variables

View Source
var (
	// LinuxPlatforms is the list of supported Linux platforms.
	LinuxPlatforms = []e2eos.Descriptor{
		e2eos.Ubuntu2404,
		e2eos.AmazonLinux2,
		e2eos.Debian12,
		e2eos.RedHat9,

		e2eos.Suse15,
	}
	// WindowsPlatforms is the list of supported Windows platforms.
	WindowsPlatforms = []e2eos.Descriptor{
		e2eos.WindowsServer2016,
		e2eos.WindowsServer2019,
		e2eos.WindowsServer2022,
		e2eos.WindowsServer2025,
	}
	// AllPlatforms is the list of all supported platforms.
	AllPlatforms = append(LinuxPlatforms, WindowsPlatforms...)
)

Functions

func Platforms added in v0.78.0

func Platforms() []e2eos.Descriptor

Platforms returns the list of platforms to test.

The set of platforms can be narrowed down with the E2E_FLEET_PLATFORM_GROUP environment variable ("linux" or "windows"), which is used to split the fleet e2e jobs across multiple parallel CI jobs. When it is unset, all platforms are returned.

Windows platforms are always excluded when the E2E_SKIP_WINDOWS parameter is set to "true".

func Run

func Run(t *testing.T, f func() e2e.Suite[environments.Host], platforms []e2eos.Descriptor, opts ...awshost.ProvisionerOption)

Run runs the fleet suite for the given platforms.

Types

type FleetSuite

type FleetSuite struct {
	e2e.BaseSuite[environments.Host]

	Agent     *agent.Agent
	Backend   *backend.Backend
	Host      *fleethost.Host
	Installer *installer.Installer
}

FleetSuite is a base suite for fleet tests.

func (*FleetSuite) SetupSuite

func (s *FleetSuite) SetupSuite()

SetupSuite sets up the fleet suite.

Jump to

Keyboard shortcuts

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