e2e

command
v0.2.0-rc8 Latest Latest
Warning

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

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

README

Prerequisites

Almost the same as the prerequisites specified by the project's README.md.

The only exceptions are

  • clusteradm is needed to run the test;
  • helm is not needed to run the test.

What are the tests

  • workstatus-patching.sh ensures that the status addon can always patch WorkStatus objects, no matter the '.status' field is empty or not. This test is created for issue #22.
  • workstatus-crud.sh verifies the status addon's CRUD operations on WorkStatus objects.
  • workstatus-multiple.sh verifies the status handles correctly creation and deletion of WorkStatus objects when objects are part of the same ManifestWork.
  • workstatus-stress-test.sh creates, deletes and recreates N objects without pause between each operation and then checks all workstatuses are present on the hub.

How to use the tests

In the root directory of this git repo:

test/e2e/run.sh

Cleaning up:

test/e2e/cleanup.sh

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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