e2e

package
v1.6.0 Latest Latest
Warning

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

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

README

E2E Test

This document is to help developers understand how to run e2e tests for CAPDO.

Requirements

In order to run the e2e tests the following requirements must be met:

Environment variables

The first step to running the e2e tests is setting up the required environment variables:

Environment variable Description
DIGITALOCEAN_ACCESS_TOKEN The DigitalOcean API V2 access token
DO_CONTROL_PLANE_MACHINE_IMAGE The DigitalOcean Image id or slug
DO_NODE_MACHINE_IMAGE The DigitalOcean Image id or slug
DO_SSH_KEY_FINGERPRINT The ssh key id or fingerprint (Should be already registered in the DigitalOcean Account)
Running e2e test

In the root project directory run:

make test-e2e
Running Conformance test

In the root project directory run:

make test-conformance

Documentation

Overview

Package e2e define and implement the e2e tests.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CleanDOResources added in v0.4.1

func CleanDOResources(clusterName string) error

CleanDOResources clean any resource leftover from the tests.

Types

This section is empty.

Jump to

Keyboard shortcuts

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