e2e

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

README

Running integration tests

The integration tests are executed against deployed planner-api. The planner api can be deployed as container or running as binary.

Requiremets

dnf install -y libvirt-devel
sudo usermod -a -G libvirt $USER

Running planner api, either as container or binary:

bin/planner-api

Executing tests

PLANNER_IP=1.2.3.4 make integration-tests

Documentation

Index

Constants

View Source
const (
	DefaultOrganization = "admin"
	DefaultUsername     = "admin"
	DefaultEmailDomain  = "example.com"
	VmName              = "coreos-vm"
	Vsphere1Port        = "8989"
	Vsphere2Port        = "8990"
)

Variables

View Source
var (
	DefaultAgentTestID = "1"
	DefaultBasePath    = "/tmp/untarova/"
	DefaultVmdkName    = filepath.Join(DefaultBasePath, "persistence-disk.vmdk")
	DefaultOvaPath     = filepath.Join(Home, "myimage.ova")
	DefaultServiceUrl  = fmt.Sprintf("http://%s:7443/api/migration-assessment", SystemIP)
	Home               = os.Getenv("HOME")
	PrivateKeyPath     = filepath.Join(os.Getenv("E2E_PRIVATE_KEY_FOLDER_PATH"), "private-key")
	SystemIP           = os.Getenv("PLANNER_IP")
	TestsExecutionTime = make(map[string]time.Duration)
)
View Source
var TestOptions = struct {
	DisconnectedEnvironment bool
}{}

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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