From 778aa09e0273959d9254794418ae851240f4fdaf Mon Sep 17 00:00:00 2001 From: Damjan Smickovski Date: Fri, 7 Jun 2024 11:47:33 +0200 Subject: [PATCH] Updated readme --- docs/RunningE2eTests.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/docs/RunningE2eTests.md b/docs/RunningE2eTests.md index babdf6b94..78665a8e7 100644 --- a/docs/RunningE2eTests.md +++ b/docs/RunningE2eTests.md @@ -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 = ` - 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=""` +- cd integration-tests/soak && go test -timeout 24h -count=1 -run TestSolanaOCRV2Soak -test.timeout 30m;