azure-container-networking/test/e2e
Alexander a50833687e
ci: remove logger field from portforwarder to avoid race with goroutine (#2959)
* do not pass testing logger into goroutine to avoid race

* fix port forwarder
2024-08-29 16:07:24 +00:00
..
cmd ci: E2E Framework [Dev CLI] [6/6] (#2530) 2024-02-05 17:17:48 +00:00
framework ci: remove logger field from portforwarder to avoid race with goroutine (#2959) 2024-08-29 16:07:24 +00:00
manifests ci: E2E Framework [Deployment YAMLs] [2/6] (#2531) 2024-01-19 01:44:20 +00:00
scenarios/hubble ci: scope scenario parameters instead of whole job (#2578) 2024-02-15 16:35:17 +00:00
Makefile ci: E2E Framework [Core types] [1/6] (#2526) 2024-01-22 17:07:31 +00:00
README.md ci: E2E Framework [Core types] [1/6] (#2526) 2024-01-22 17:07:31 +00:00

README.md

ACN E2E

Objectives

  • Steps are reusable
  • Steps parameters are saved to the context of the job
  • Once written to the job context, the values are immutable
  • Cluster resources used in code should be able to be generated to yaml for easy manual repro
  • Avoid shell/ps calls wherever possible and use go libraries for typed parameters (avoid capturing error codes/stderr/stdout)

Starter Example:

When authoring tests, make sure to prefix the test name with TestE2E so that it is skipped by existing pipeline unit test framework. For reference, see the test-all recipe in the root Makefile.

For sample test, please check out: the Hubble E2E.

acndev CLI

The acndev CLI is a tool for manually interacting with E2E steps for quick access.

It is used to create and manage clusters, but not to author tests with, and should not be referenced in pipeline yaml. Please stick to using tests with TestE2E prefix for authoring tests.