Skip to content

Commit

Permalink
Funds Tests From Config Value (#979)
Browse files Browse the repository at this point in the history
In conjunction with [this
PR](smartcontractkit/chainlink#13465)

Co-authored-by: amaechiokolobi <[email protected]>
  • Loading branch information
kalverra and amaechiokolobi authored Jun 10, 2024
1 parent 068adec commit 82c3299
Show file tree
Hide file tree
Showing 8 changed files with 252 additions and 47 deletions.
2 changes: 1 addition & 1 deletion integration-tests/smoke/forwarder_ocr_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ func TestForwarderOCRBasic(t *testing.T) {
WithMockAdapter().
WithForwarders().
WithCLNodes(6).
WithFunding(big.NewFloat(.1)).
WithFunding(big.NewFloat(*config.Common.ChainlinkNodeFunding)).
WithStandardCleanup().
WithSeth().
Build()
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/smoke/forwarders_ocr2_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ func TestForwarderOCR2Basic(t *testing.T) {
)).
WithForwarders().
WithCLNodes(6).
WithFunding(big.NewFloat(.1)).
WithFunding(big.NewFloat(*config.Common.ChainlinkNodeFunding)).
WithStandardCleanup().
WithSeth().
Build()
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/smoke/keeper_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1169,7 +1169,7 @@ func setupKeeperTest(l zerolog.Logger, t *testing.T, config *tc.TestConfig) (
WithPrivateEthereumNetwork(privateNetwork.EthereumNetworkConfig).
WithCLNodes(5).
WithCLNodeConfig(clNodeConfig).
WithFunding(big.NewFloat(.5)).
WithFunding(big.NewFloat(*config.Common.ChainlinkNodeFunding)).
WithStandardCleanup().
Build()
require.NoError(t, err, "Error deploying test environment")
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/smoke/ocr2_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ func prepareORCv2SmokeTestEnv(t *testing.T, l zerolog.Logger, firstRoundResult i
node.WithTracing(),
)).
WithCLNodes(6).
WithFunding(big.NewFloat(.1)).
WithFunding(big.NewFloat(*config.Common.ChainlinkNodeFunding)).
WithStandardCleanup().
WithSeth().
Build()
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/smoke/ocr_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ func prepareORCv1SmokeTestEnv(t *testing.T, l zerolog.Logger, firstRoundResult i
WithPrivateEthereumNetwork(network.EthereumNetworkConfig).
WithMockAdapter().
WithCLNodes(6).
WithFunding(big.NewFloat(.5)).
WithFunding(big.NewFloat(*config.Common.ChainlinkNodeFunding)).
WithStandardCleanup().
WithSeth().
Build()
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/smoke/runlog_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ func TestRunLogBasic(t *testing.T) {
WithPrivateEthereumNetwork(privateNetwork.EthereumNetworkConfig).
WithMockAdapter().
WithCLNodes(1).
WithFunding(big.NewFloat(.1)).
WithFunding(big.NewFloat(*config.Common.ChainlinkNodeFunding)).
WithStandardCleanup().
WithSeth().
Build()
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/smoke/vrf_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ func prepareVRFtestEnv(t *testing.T, l zerolog.Logger) (*test_env.CLClusterTestE
WithTestConfig(&config).
WithPrivateEthereumNetwork(privateNetwork.EthereumNetworkConfig).
WithCLNodes(1).
WithFunding(big.NewFloat(.1)).
WithFunding(big.NewFloat(*config.Common.ChainlinkNodeFunding)).
WithStandardCleanup().
WithSeth().
Build()
Expand Down
Loading

0 comments on commit 82c3299

Please sign in to comment.