Skip to content

Commit

Permalink
Little Docs Updates (#11569)
Browse files Browse the repository at this point in the history
* Little Docs Updates

* Addition
  • Loading branch information
kalverra authored Dec 14, 2023
1 parent 7a0704f commit f874ea6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
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

0 comments on commit f874ea6

Please sign in to comment.