Skip to content

Commit

Permalink
fix default automation test config (#13314)
Browse files Browse the repository at this point in the history
* fix default automation test config

* fix load test cleanup
  • Loading branch information
anirudhwarrier authored May 24, 2024
1 parent 1c51553 commit 4190c79
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -798,7 +798,7 @@ Test Duration: %s`
if err != nil {
l.Error().Err(err).Msg("Error increasing TTL of namespace")
}
} else if chainClient.Cfg.IsSimulatedNetwork() || *loadedTestConfig.Automation.General.RemoveNamespace {
} else if chainClient.Cfg.IsSimulatedNetwork() && *loadedTestConfig.Automation.General.RemoveNamespace {
err := testEnvironment.Client.RemoveNamespace(testEnvironment.Cfg.Namespace)
if err != nil {
l.Error().Err(err).Msg("Error removing namespace")
Expand Down
6 changes: 4 additions & 2 deletions integration-tests/testconfig/automation/automation.toml
Original file line number Diff line number Diff line change
Expand Up @@ -102,14 +102,15 @@ block_time=1
spec_type="minimum"
chainlink_node_log_level="info"
use_prometheus=false
remove_namespace = true

# load test specific overrides
[Load.Seth]
ephemeral_addresses_number = 100
root_key_funds_buffer = 1_000_000

[Load.Common]
chainlink_node_funding = 100
remove_namespace = true
chainlink_node_funding = 1000

[Load.Automation]
[Load.Automation.General]
Expand All @@ -119,6 +120,7 @@ block_time=1
spec_type="minimum"
chainlink_node_log_level="info"
use_prometheus=false
remove_namespace = true

[Load.Automation.DataStreams]
enabled=false
Expand Down

0 comments on commit 4190c79

Please sign in to comment.