test/

directory
v1.17.0-beta33 Latest Latest
Warning

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

Go to latest
Published: May 29, 2024 License: Apache-2.0

README

End-to-End Tests

Background

Gloo Edge is built to integrate with a user's environment. By enabling users to select their preferred tools for scheduling, persistence, and security, we must ensure that we have end-to-end tests to validate these scenarios.

We support the following types of end-to-end tests:

CI

Each test suite may run on different infrastructure. Refer to the README of each test suite for more information.

Performance tests

Our tests include some performance tests which variably guard against regressions in performance or validate decisions made to choose one algorithm over others.

These are located next to the code that they test and are denoted with the Performance label and are executed as part of our nightly tests rather than in CI.

To find the results of these, navigate to the "Actions" tab in the Github UI, click on the "Nightly" workflow, and select the latest run. It may be useful to search for the name of the particular test you're investigating in order to quickly find the results.

Note that the helpers package's Measure and MeasureIgnore0s functions have different implementations for Mac and Linux machines. The Linux implementation leverages the go-utils benchmarking package and gets more reliable measurements. Compiling and running on Mac can be useful to ensure that tests using these functions behave as intended, but targets should be based on performance in the Nightly GHA, which uses a Linux runner. When developing performance tests it will likely be helpful to manually trigger runs of the Nightly job from the development branch to determine/validate performance targets.

Jump to

Keyboard shortcuts

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