integration-tests

module
v0.0.0-...-1b26bc0 Latest Latest
Warning

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

Go to latest
Published: May 3, 2024 License: MPL-2.0

README

Integration Tests

These tests validate that Consul Dataplane correctly integrates with Envoy and the Consul server to implement service mesh features.

They are intentionally not exhaustive. For full coverage of Consul's mesh capabilities, we rely on the existing suite of integration tests that do a good job of ensuring servers generate correct Envoy configuration in different scenarios, but cannot currently accommodate Consul Dataplane without significant structural changes.

Running the tests

They're run automatically as part of our build workflow.

If you have Docker, you can also run them locally with:

# From the project root
$ make integration-tests

# Additional options
$ make integration-tests \
  INTEGRATION_TESTS_OUTPUT_DIR=/path/to/output \
  INTEGRATION_TESTS_SERVER_IMAGE=hashicorp/consul:some-version \
  INTEGRATION_TESTS_DATAPLANE_IMAGE=hashicorp/consul-dataplane:some-version

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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