Skip to content

Commit

Permalink
Updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
smickovskid committed Jun 7, 2024
1 parent 4d9d54f commit 778aa09
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions docs/RunningE2eTests.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,25 @@ By default all values are pulled either from `default.toml` or if we create an `

`cd integration-tests/smoke && go test -timeout 24h -count=1 -run TestSolanaOCRV2Smoke -test.timeout 30m;`

### On demand soak test

In the .toml file under [OCR2.Soak]. Additionally, [OCR2.Smoke] needs to be disabled.

- `enabled = true`
- `remote_runner_image = <image>` - This can be fetched from the build test image job
- `detach_runner = true` - Runs the tests in the remote runner

Navigate to the [workflow](https://github.com/smartcontractkit/chainlink-solana/actions/workflows/soak.yml). The workflow takes in 2 parameters:

- Base64 string of the .toml configuration
- Core image tag which defaults to develop

Create an `overrides.toml` file in `integration-tests/testconfig` and run `cat overrides.toml | base64`. `inside_k8` needs to be set to true in the .toml in order to run the tests in kubernetes.

#### Local

If you want to kick off the test from local:

- Base64 the config
- Run `export BASE64_CONFIG_OVERRIDE="<config>"`
- cd integration-tests/soak && go test -timeout 24h -count=1 -run TestSolanaOCRV2Soak -test.timeout 30m;

0 comments on commit 778aa09

Please sign in to comment.