Skip to content

Commit

Permalink
adding additional notes
Browse files Browse the repository at this point in the history
  • Loading branch information
rboyer committed Nov 8, 2023
1 parent be50ec9 commit 1350174
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions test-integ/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,27 @@ be able to run many related sorts of test against it, rather than waiting for
many similar clusters to be provisioned and torn down. This will help ensure
that the integration tests do not consume CPU cycles needlessly.

## Prerequisites

Before you can run these tests, a fresh dev build should be created and tagged
for automatic use by tests using `utils.TargetImages()`. This can be done by
the toplevel consul make target:

make test-deployer-setup

You can run the entire set of deployer integration tests using:

make test-deployer # everything except peering_commontopo
make test-deployer-peering # just peering_commontopo

You can also run them one by one if you like:

go test ./catalogv2 -run TestBasicL4ExplicitDestinations -v

You can have the logs stream unbuffered directly to your terminal which can
help diagnose stuck tests that would otherwise need to fully timeout before the
logs would print by also setting the `NOLOGBUFFER=1` environment variable.

## Getting started

Deployer tests have three main parts:
Expand Down

0 comments on commit 1350174

Please sign in to comment.