test/

directory
v1.10.0-beta7 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2021 License: Apache-2.0

README

Setup for running Gloo tests locally

e2e Tests

Instructions for setting up and running the end-to-end tests can be found here.

Kube e2e Tests

Instructions for setting up and running the regression tests can be found here.

Consult Vault Test Setup

The consul vault test downloads and runs vault and is disabled by default. To enable, set RUN_VAULT_TESTS=1 and RUN_CONSUL_TESTS=1 in your local environment.

Debugging Tests

Gloo Tests

Some of the gloo tests use a listener on 127.0.0.1 rather than 0.0.0.0 and will only run on linux (e.g. fault injection).

If you’re developing on a mac, ValidateBootstrap will not run properly because it uses the envoy binary for validation mode (which only runs on linux). See rbac_jwt_test.go for an example.

Directories

Path Synopsis
cache
Package mock_cache is a generated GoMock package.
Package mock_cache is a generated GoMock package.
gloo
Package mock_validation is a generated GoMock package.
Package mock_validation is a generated GoMock package.
kubernetes
Package mock_kubernetes is a generated GoMock package.
Package mock_kubernetes is a generated GoMock package.

Jump to

Keyboard shortcuts

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