Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Little Docs Updates #11569

Merged
merged 2 commits into from
Dec 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions integration-tests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,16 @@ e.g.

`make build_docker_image image=chainlink tag=test-tag`

You'll want to set the `CHAINLINK_IMAGE` and `CHAINLINK_VERSION` env values appropriately as well. See [example.env](./example.env) for more details.

## Run

`go test ./smoke/<product>_test.go`

Most test files have a couple of tests, it's recommended to look into the file and focus on a specific one if possible. 90% of the time this will probably be the `Basic` test. See [ocr_test.go](./smoke/ocr_test.go) for example, which contains the `TestOCRBasic` test.

`go test ./smoke/ocr_test.go -run TestOCRBasic`

It's generally recommended to run only one test at a time on a local machine as it needs a lot of docker containers and can peg your resources otherwise. You will see docker containers spin up on your machine for each component of the test where you can inspect logs.

## Analyze
Expand Down
3 changes: 2 additions & 1 deletion integration-tests/example.env
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,16 @@ export TEST_UPGRADE_VERSION="2.0.0" # Version of the Chainlink image to upgrade

########## Network Settings ##########

# If running on a live network, you must set the following values
# Select a pre-defined network(s)
export SELECTED_NETWORKS="SIMULATED"

# General private values that will be retrieved when running on non-simulated networks
export EVM_URLS="wss://evm.url,wss://other.url" # Comma-sparated list of websocket URLs to use when running on live networks
export EVM_HTTP_URLS="https://evm.url,https://other.url" # Comma-sparated list of HTTP URLs to use when running on live networks
export EVM_KEYS="private,funding,keys" # Comma-separated list of private keys to use when running on live networks

# Specific private values retrieved when running on specified chains
# Will override the general values above if the SELECTED_NETWORKS contains the network name
# Goerli
export GOERLI_URLS="wss://goerli.io/ws"
export GOERLI_HTTP_URLS="http://goerli.io/ws"
Expand Down
Loading