Skip to content

Commit

Permalink
Add instructions for running smoke test workflow
Browse files Browse the repository at this point in the history
This commit adds instructions for running the smoke test workflow in the README.md file. The instructions include the necessary commands to prepare the environment and run the tests.

Signed-off-by: Paul Gaiduk <[email protected]>
  • Loading branch information
europaul authored and eriknordmark committed Jan 30, 2024
1 parent 843d370 commit 9b54692
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,19 @@ Or to run the workflow tests:
EDEN_TEST=small eden test tests/workflow -v debug
```

Because most workflow tests already contain a setup phase you only need minimal preparation before running them - here is an example of running smoke test workflow (as done in `.github/actions/setup-environment/action.yml` and `.github/actions/run-eden-test/action.yml`):

```console
(optional) make clean
make build
make build-tests
eden config add default
eden setup
eden test tests/workflow/ -s smoke.tests.txt
```

Here it is important not to do the setup with `make run`, because it doesn't include a call to `eden+ports.sh` that sets up port forwarding for the tests.

For tests that accept parameters, simply pass them after the test path. For
example, to run Log/Metrics/Info test
in debug mode with timeout of 600 seconds and requiring 3 messages of each type:
Expand Down

0 comments on commit 9b54692

Please sign in to comment.