Skip to content

Commit

Permalink
Adding test to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
b-gopalswami committed Dec 9, 2024
1 parent ef405ec commit eeb5902
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 5 deletions.
13 changes: 13 additions & 0 deletions .github/e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -962,6 +962,19 @@ runner-test-matrix:
E2E_TEST_SELECTED_NETWORK: SIMULATED_1,SIMULATED_2
test_config_override_path: integration-tests/ccip-tests/testconfig/tomls/usdc_mock_deployment.toml

- id: ccip-smoke-lbtc
path: integration-tests/ccip-tests/smoke/ccip_test.go
test_env_type: docker
runs_on: ubuntu-latest
triggers:
- PR E2E CCIP Tests
- Merge Queue E2E CCIP Tests
- Nightly E2E Tests
test_cmd: cd integration-tests/ccip-tests/smoke && go test ccip_test.go -test.run ^TestSmokeCCIPForBidirectionalLane$ -timeout 30m -count=1 -test.parallel=1 -json
test_env_vars:
E2E_TEST_SELECTED_NETWORK: SIMULATED_1,SIMULATED_2
test_config_override_path: integration-tests/ccip-tests/testconfig/tomls/lbtc_mock_deployment.toml

- id: ccip-smoke-db-compatibility
path: integration-tests/ccip-tests/smoke/ccip_test.go
test_env_type: docker
Expand Down
10 changes: 5 additions & 5 deletions integration-tests/ccip-tests/testconfig/tomls/ccip-default.toml
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ EIP1559FeeCapBufferBlocks = 0

# Run by default using latest version from `ccip-develop` branch, override this value to use a specific version
[CCIP.Env.NewCLCluster.Common.ChainlinkImage]
version = "latest"
version = "ccip-develop"

# the following configs are specific to each test type, smoke, load , chaos, etc...
[CCIP.Groups]
Expand Down Expand Up @@ -262,22 +262,22 @@ NoOfSendsInMulticall = 5 # if MulticallInOneTx=true , this denotes the number of

NoOfNetworks = 2 # this is used with Networks in `CCIP.Env`, `NoOfNetworks < len(CCIP.Env.Networks)` test only uses first NoOfNetworks from` CCIP.Env.Networks`.
# This value is ignored if CCIP.Groups.<TestGroup>.NetworkPairs is provided
LBTCMockDeployment = true


[CCIP.Groups.smoke.MsgDetails]
MsgType = 'DataWithToken' # type of message to be sent, either 'Token' or 'DataWithToken' Or 'Data'
DestGasLimit = 100000 # change this to 0 gas limit if you are doing ccip-send to an EOA
DataLength = 1000 # length of the data to be sent in ccip message if MsgType = 'Data'/'DataWithToken'
NoOfTokens = 1 # number of bridge tokens to be sent in ccip message if MsgType = 'Token'/'DataWithToken'
NoOfTokens = 2 # number of bridge tokens to be sent in ccip message if MsgType = 'Token'/'DataWithToken'
AmountPerToken = 1 # amount to be sent for each bridge token in ccip message if MsgType = 'Token'/'DataWithToken'

[CCIP.Groups.smoke.TokenConfig]
TimeoutForPriceUpdate = '15m' # Duration to wait for the price update to time-out.
# Now testing only with dynamic price getter (no pipeline).
# Could be removed once the pipeline is completely removed.
WithPipeline = false
NoOfTokensPerChain = 1 # number of bridge tokens to be deployed per network; if MsgType = 'Token'/'DataWithToken'
CCIPOwnerTokens = true # if true, the test will use deploy the tokens by the CCIPOwner, otherwise the tokens will be deployed by a non-owner account, only applicable for 1.5 pools and onwards
NoOfTokensPerChain = 2 # number of bridge tokens to be deployed per network; if MsgType = 'Token'/'DataWithToken'
CCIPOwnerTokens = false # if true, the test will use deploy the tokens by the CCIPOwner, otherwise the tokens will be deployed by a non-owner account, only applicable for 1.5 pools and onwards

#NoOfTokensWithDynamicPrice = 15 # number of tokens with dynamic price to be deployed
#DynamicPriceUpdateInterval ='15s' # Periodic interval to update the price of tokens, if there are tokens with dynamic price
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[CCIP]
[CCIP.Groups]
[CCIP.Groups.smoke]
LBTCMockDeployment = true

[CCIP.Groups.smoke.TokenConfig]
NoOfTokensPerChain = 1

[CCIP.Groups.smoke.MsgDetails]
NoOfTokens = 1

0 comments on commit eeb5902

Please sign in to comment.