Skip to content

Commit

Permalink
[TT-1190] support multiple configuration names (#13649)
Browse files Browse the repository at this point in the history
* support multiple configuration names

* TT-1090: adding code to investigate issue with incorrect config being used

* TT-1090: adding code to investigate issue with incorrect config being used

* TT-1090: adding toml test config for remaining chains for VRF v2 Plus

* support unnamed configuration

* use chain-specific config in VRF tests

---------

Co-authored-by: Ilja Pavlovs <[email protected]>
  • Loading branch information
Tofel and iljapavlovs authored Jun 28, 2024
1 parent 7a3ba8e commit a0b85e4
Show file tree
Hide file tree
Showing 43 changed files with 803 additions and 129 deletions.
2 changes: 1 addition & 1 deletion integration-tests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,4 +127,4 @@ Run soak/ocr_test.go with RPC network chaos by bringing down network to RPC node

```bash
make test_soak_ocr_rpc_down_half_cl_nodes
```
```
6 changes: 3 additions & 3 deletions integration-tests/benchmark/keeper_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ func TestAutomationBenchmark(t *testing.T) {
testType, err := tc.GetConfigurationNameFromEnv()
require.NoError(t, err, "Error getting test type")

config, err := tc.GetConfig(testType, tc.Keeper)
config, err := tc.GetConfig([]string{testType}, tc.Keeper)
require.NoError(t, err, "Error getting test config")

testEnvironment, benchmarkNetwork := SetupAutomationBenchmarkEnv(t, &config)
Expand Down Expand Up @@ -308,7 +308,7 @@ func SetupAutomationBenchmarkEnv(t *testing.T, keeperTestConfig types.KeeperBenc
TTL: time.Hour * 720, // 30 days,
NamespacePrefix: fmt.Sprintf(
"automation-%s-%s-%s",
strings.ToLower(keeperTestConfig.GetConfigurationName()),
strings.ToLower(strings.Join(keeperTestConfig.GetConfigurationNames(), "_")),
strings.ReplaceAll(strings.ToLower(testNetwork.Name), " ", "-"),
strings.ReplaceAll(strings.ToLower(*keeperTestConfig.GetKeeperConfig().Common.RegistryToTest), "_", "-"),
),
Expand All @@ -318,7 +318,7 @@ func SetupAutomationBenchmarkEnv(t *testing.T, keeperTestConfig types.KeeperBenc

dbResources := performanceDbResources
chainlinkResources := performanceChainlinkResources
if strings.ToLower(keeperTestConfig.GetConfigurationName()) == "soak" {
if strings.Contains(strings.ToLower(strings.Join(keeperTestConfig.GetConfigurationNames(), ",")), "soak") {
chainlinkResources = soakChainlinkResources
dbResources = soakDbResources
}
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/chaos/automation_chaos_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ func TestAutomationChaos(t *testing.T) {
t.Run(name, func(t *testing.T) {
t.Parallel()

config, err := tc.GetConfig("Chaos", tc.Automation)
config, err := tc.GetConfig([]string{"Chaos"}, tc.Automation)
if err != nil {
t.Fatal(err)
}
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/chaos/ocr2vrf_chaos_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ import (
func TestOCR2VRFChaos(t *testing.T) {
t.Parallel()
l := logging.GetTestLogger(t)
testConfig, err := tc.GetConfig("Chaos", tc.OCR2VRF)
testConfig, err := tc.GetConfig([]string{"Chaos"}, tc.OCR2VRF)
if err != nil {
t.Fatal(err)
}
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/chaos/ocr_chaos_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ var (
func TestOCRChaos(t *testing.T) {
t.Parallel()
l := logging.GetTestLogger(t)
config, err := tc.GetConfig("Chaos", tc.OCR)
config, err := tc.GetConfig([]string{"Chaos"}, tc.OCR)
require.NoError(t, err, "Error getting config")

var overrideFn = func(_ interface{}, target interface{}) {
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/docker/cmd/internal/commands.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ var StartNodesCmd = &cobra.Command{
log.Logger = logging.GetLogger(nil, "CORE_DOCKER_ENV_LOG_LEVEL")
log.Info().Msg("Starting docker test env with Chainlink nodes..")

config, err := testconfig.GetConfig("Smoke", testconfig.OCR2)
config, err := testconfig.GetConfig([]string{"Smoke"}, testconfig.OCR2)
if err != nil {
return err
}
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/experiments/gas_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (

func TestGasExperiment(t *testing.T) {
l := logging.GetTestLogger(t)
config, err := tc.GetConfig("Soak", tc.OCR)
config, err := tc.GetConfig([]string{"Soak"}, tc.OCR)
require.NoError(t, err, "Error getting config")

network := networks.MustGetSelectedNetworkConfig(config.GetNetworkConfig())[0]
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ require (
github.com/slack-go/slack v0.12.2
github.com/smartcontractkit/chainlink-automation v1.0.4
github.com/smartcontractkit/chainlink-common v0.1.7-0.20240625145034-72dab520f468
github.com/smartcontractkit/chainlink-testing-framework v1.31.5
github.com/smartcontractkit/chainlink-testing-framework v1.31.7
github.com/smartcontractkit/chainlink-testing-framework/grafana v0.0.0-20240405215812-5a72bc9af239
github.com/smartcontractkit/chainlink-vrf v0.0.0-20231120191722-fef03814f868
github.com/smartcontractkit/chainlink/v2 v2.0.0-00010101000000-000000000000
Expand Down
4 changes: 2 additions & 2 deletions integration-tests/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -1525,8 +1525,8 @@ github.com/smartcontractkit/chainlink-solana v1.0.3-0.20240625135745-60e0e43656f
github.com/smartcontractkit/chainlink-solana v1.0.3-0.20240625135745-60e0e43656f9/go.mod h1:NbXXQaNFskVMYRut0MvBlcHu/vDgipGMwYjamvjVB9Y=
github.com/smartcontractkit/chainlink-starknet/relayer v0.0.1-beta-test.0.20240625074951-06ab5e670dba h1:YNSlhK5mobyAaw02LPGgIEuS3lXyCTXcc6oaV2L6uUI=
github.com/smartcontractkit/chainlink-starknet/relayer v0.0.1-beta-test.0.20240625074951-06ab5e670dba/go.mod h1:UVFRacRkP7O7TQAzFmR52v5mUlxf+G1ovMlCQAB/cHU=
github.com/smartcontractkit/chainlink-testing-framework v1.31.5 h1:PemXseNS74zz1Oitm1MOCeJyQSIYCFck/QsnjM1y06c=
github.com/smartcontractkit/chainlink-testing-framework v1.31.5/go.mod h1:E6uNEZhZZid9PHv6/Kq5Vn63GlO61ZcKB+/f0DKo3Q4=
github.com/smartcontractkit/chainlink-testing-framework v1.31.7 h1:Vy4ah8VAfj+Y7vVmhjvwyAO6wG+Fp2vzdkSJwJPMQO4=
github.com/smartcontractkit/chainlink-testing-framework v1.31.7/go.mod h1:E6uNEZhZZid9PHv6/Kq5Vn63GlO61ZcKB+/f0DKo3Q4=
github.com/smartcontractkit/chainlink-testing-framework/grafana v0.0.0-20240405215812-5a72bc9af239 h1:Kk5OVlx/5g9q3Z3lhxytZS4/f8ds1MiNM8yaHgK3Oe8=
github.com/smartcontractkit/chainlink-testing-framework/grafana v0.0.0-20240405215812-5a72bc9af239/go.mod h1:DC8sQMyTlI/44UCTL8QWFwb0bYNoXCfjwCv2hMivYZU=
github.com/smartcontractkit/chainlink-vrf v0.0.0-20231120191722-fef03814f868 h1:FFdvEzlYwcuVHkdZ8YnZR/XomeMGbz5E2F2HZI3I3w8=
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ func TestLogTrigger(t *testing.T) {
ctx := tests.Context(t)
l := logging.GetTestLogger(t)

loadedTestConfig, err := tc.GetConfig("Load", tc.Automation)
loadedTestConfig, err := tc.GetConfig([]string{"Load"}, tc.Automation)
if err != nil {
t.Fatal(err)
}
Expand Down
14 changes: 7 additions & 7 deletions integration-tests/load/functions/functions_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
)

func TestFunctionsLoad(t *testing.T) {
generalConfig, err := tc.GetConfig(tc.NoKey, tc.Functions)
generalConfig, err := tc.GetConfig([]string{""}, tc.Functions)
require.NoError(t, err, "failed to get config")

ft, err := SetupLocalLoadTestEnv(&generalConfig, &generalConfig)
Expand All @@ -25,7 +25,7 @@ func TestFunctionsLoad(t *testing.T) {
MonitorLoadStats(t, ft, labels, &generalConfig)

t.Run("mumbai functions soak test http", func(t *testing.T) {
config, err := tc.GetConfig("Soak", tc.Functions)
config, err := tc.GetConfig([]string{"Soak"}, tc.Functions)
require.NoError(t, err, "failed to get config")
cfg := config.Functions
cfgl := config.Logging.Loki
Expand Down Expand Up @@ -59,7 +59,7 @@ func TestFunctionsLoad(t *testing.T) {
})

t.Run("mumbai functions stress test http", func(t *testing.T) {
config, err := tc.GetConfig("Stress", tc.Functions)
config, err := tc.GetConfig([]string{"Stress"}, tc.Functions)
require.NoError(t, err, "failed to get config")
cfg := config.Functions
cfgl := config.Logging.Loki
Expand Down Expand Up @@ -93,7 +93,7 @@ func TestFunctionsLoad(t *testing.T) {
})

t.Run("mumbai functions soak test only secrets", func(t *testing.T) {
config, err := tc.GetConfig("SecretsSoak", tc.Functions)
config, err := tc.GetConfig([]string{"SecretsSoak"}, tc.Functions)
require.NoError(t, err, "failed to get config")
cfg := config.Functions
cfgl := config.Logging.Loki
Expand Down Expand Up @@ -127,7 +127,7 @@ func TestFunctionsLoad(t *testing.T) {
})

t.Run("mumbai functions stress test only secrets", func(t *testing.T) {
config, err := tc.GetConfig("SecretsStress", tc.Functions)
config, err := tc.GetConfig([]string{"SecretsStress"}, tc.Functions)
require.NoError(t, err, "failed to get config")
cfg := config.Functions
cfgl := config.Logging.Loki
Expand Down Expand Up @@ -161,7 +161,7 @@ func TestFunctionsLoad(t *testing.T) {
})

t.Run("mumbai functions soak test real", func(t *testing.T) {
config, err := tc.GetConfig("RealSoak", tc.Functions)
config, err := tc.GetConfig([]string{"RealSoak"}, tc.Functions)
require.NoError(t, err, "failed to get config")
cfg := config.Functions
cfgl := config.Logging.Loki
Expand Down Expand Up @@ -195,7 +195,7 @@ func TestFunctionsLoad(t *testing.T) {
})

t.Run("mumbai functions stress test real", func(t *testing.T) {
config, err := tc.GetConfig("RealStress", tc.Functions)
config, err := tc.GetConfig([]string{"RealStress"}, tc.Functions)
require.NoError(t, err, "failed to get config")
cfg := config.Functions
cfgl := config.Logging.Loki
Expand Down
4 changes: 2 additions & 2 deletions integration-tests/load/functions/gateway_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
)

func TestGatewayLoad(t *testing.T) {
listConfig, err := tc.GetConfig("GatewayList", tc.Functions)
listConfig, err := tc.GetConfig([]string{"GatewayList"}, tc.Functions)
require.NoError(t, err)
cfgl := listConfig.Logging.Loki

Expand Down Expand Up @@ -42,7 +42,7 @@ func TestGatewayLoad(t *testing.T) {
LokiConfig: wasp.NewLokiConfig(cfgl.Endpoint, cfgl.TenantId, cfgl.BasicAuth, cfgl.BearerToken),
}

setConfig, err := tc.GetConfig("GatewaySet", tc.Functions)
setConfig, err := tc.GetConfig([]string{"GatewaySet"}, tc.Functions)
require.NoError(t, err)

secretsSetCfg := &wasp.Config{
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/load/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ require (
github.com/slack-go/slack v0.12.2
github.com/smartcontractkit/chainlink-automation v1.0.4
github.com/smartcontractkit/chainlink-common v0.1.7-0.20240625145034-72dab520f468
github.com/smartcontractkit/chainlink-testing-framework v1.31.5
github.com/smartcontractkit/chainlink-testing-framework v1.31.7
github.com/smartcontractkit/chainlink/integration-tests v0.0.0-20240214231432-4ad5eb95178c
github.com/smartcontractkit/chainlink/v2 v2.9.0-beta0.0.20240216210048-da02459ddad8
github.com/smartcontractkit/libocr v0.0.0-20240419185742-fd3cab206b2c
Expand Down
4 changes: 2 additions & 2 deletions integration-tests/load/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -1515,8 +1515,8 @@ github.com/smartcontractkit/chainlink-solana v1.0.3-0.20240625135745-60e0e43656f
github.com/smartcontractkit/chainlink-solana v1.0.3-0.20240625135745-60e0e43656f9/go.mod h1:NbXXQaNFskVMYRut0MvBlcHu/vDgipGMwYjamvjVB9Y=
github.com/smartcontractkit/chainlink-starknet/relayer v0.0.1-beta-test.0.20240625074951-06ab5e670dba h1:YNSlhK5mobyAaw02LPGgIEuS3lXyCTXcc6oaV2L6uUI=
github.com/smartcontractkit/chainlink-starknet/relayer v0.0.1-beta-test.0.20240625074951-06ab5e670dba/go.mod h1:UVFRacRkP7O7TQAzFmR52v5mUlxf+G1ovMlCQAB/cHU=
github.com/smartcontractkit/chainlink-testing-framework v1.31.5 h1:PemXseNS74zz1Oitm1MOCeJyQSIYCFck/QsnjM1y06c=
github.com/smartcontractkit/chainlink-testing-framework v1.31.5/go.mod h1:E6uNEZhZZid9PHv6/Kq5Vn63GlO61ZcKB+/f0DKo3Q4=
github.com/smartcontractkit/chainlink-testing-framework v1.31.7 h1:Vy4ah8VAfj+Y7vVmhjvwyAO6wG+Fp2vzdkSJwJPMQO4=
github.com/smartcontractkit/chainlink-testing-framework v1.31.7/go.mod h1:E6uNEZhZZid9PHv6/Kq5Vn63GlO61ZcKB+/f0DKo3Q4=
github.com/smartcontractkit/chainlink-testing-framework/grafana v0.0.0-20240405215812-5a72bc9af239 h1:Kk5OVlx/5g9q3Z3lhxytZS4/f8ds1MiNM8yaHgK3Oe8=
github.com/smartcontractkit/chainlink-testing-framework/grafana v0.0.0-20240405215812-5a72bc9af239/go.mod h1:DC8sQMyTlI/44UCTL8QWFwb0bYNoXCfjwCv2hMivYZU=
github.com/smartcontractkit/chainlink-vrf v0.0.0-20231120191722-fef03814f868 h1:FFdvEzlYwcuVHkdZ8YnZR/XomeMGbz5E2F2HZI3I3w8=
Expand Down
4 changes: 2 additions & 2 deletions integration-tests/load/ocr/ocr_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ var (
func TestOCRLoad(t *testing.T) {
l := logging.GetTestLogger(t)

config, err := tc.GetConfig("Load", tc.OCR)
config, err := tc.GetConfig([]string{"Load"}, tc.OCR)
require.NoError(t, err)

evmNetwork, msClient, bootstrapNode, workerNodes, err := k8s.ConnectRemote()
Expand Down Expand Up @@ -61,7 +61,7 @@ func TestOCRLoad(t *testing.T) {

func TestOCRVolume(t *testing.T) {
l := logging.GetTestLogger(t)
config, err := tc.GetConfig("Volume", tc.OCR)
config, err := tc.GetConfig([]string{"Volume"}, tc.OCR)
require.NoError(t, err)

evmNetwork, msClient, bootstrapNode, workerNodes, err := k8s.ConnectRemote()
Expand Down
4 changes: 2 additions & 2 deletions integration-tests/load/vrfv2/vrfv2_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ func TestVRFV2Performance(t *testing.T) {
l := logging.GetTestLogger(t)
testType, err := tc.GetConfigurationNameFromEnv()
require.NoError(t, err)
testConfig, err := tc.GetConfig(testType, tc.VRFv2)
testConfig, err := tc.GetChainAndTestTypeSpecificConfig(testType, tc.VRFv2)
require.NoError(t, err)
cfgl := testConfig.Logging.Loki

Expand Down Expand Up @@ -188,7 +188,7 @@ func TestVRFV2BHSPerformance(t *testing.T) {

testType, err := tc.GetConfigurationNameFromEnv()
require.NoError(t, err)
testConfig, err := tc.GetConfig(testType, tc.VRFv2)
testConfig, err := tc.GetChainAndTestTypeSpecificConfig(testType, tc.VRFv2)
require.NoError(t, err)
vrfv2Config := testConfig.VRFv2
testReporter := &testreporters.VRFV2TestReporter{}
Expand Down
4 changes: 2 additions & 2 deletions integration-tests/load/vrfv2plus/vrfv2plus_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ func TestVRFV2PlusPerformance(t *testing.T) {
l := logging.GetTestLogger(t)
testType, err := tc.GetConfigurationNameFromEnv()
require.NoError(t, err)
testConfig, err := tc.GetConfig(testType, tc.VRFv2Plus)
testConfig, err := tc.GetChainAndTestTypeSpecificConfig(testType, tc.VRFv2Plus)
require.NoError(t, err)
cfgl := testConfig.Logging.Loki

Expand Down Expand Up @@ -188,7 +188,7 @@ func TestVRFV2PlusBHSPerformance(t *testing.T) {

testType, err := tc.GetConfigurationNameFromEnv()
require.NoError(t, err)
testConfig, err := tc.GetConfig(testType, tc.VRFv2Plus)
testConfig, err := tc.GetChainAndTestTypeSpecificConfig(testType, tc.VRFv2Plus)
require.NoError(t, err)
vrfv2PlusConfig := testConfig.VRFv2Plus
testReporter := &testreporters.VRFV2PlusTestReporter{}
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/load/zcluster/cluster_entrypoint_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
)

func TestClusterEntrypoint(t *testing.T) {
config, err := tc.GetConfig("Load", tc.OCR)
config, err := tc.GetConfig([]string{"Load"}, tc.OCR)
require.NoError(t, err)
cfgBase64, err := config.AsBase64()
require.NoError(t, err)
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/migration/upgrade_version_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ func TestVersionUpgrade(t *testing.T) {

l := logging.GetTestLogger(t)

config, err := tc.GetConfig("Migration", tc.Node)
config, err := tc.GetConfig([]string{"Migration"}, tc.Node)
require.NoError(t, err, "Error getting config")

err = config.ChainlinkUpgradeImage.Validate()
Expand Down
4 changes: 2 additions & 2 deletions integration-tests/reorg/automation_reorg_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ var (
* Upkeeps are expected to be performed during the reorg.
*/
func TestAutomationReorg(t *testing.T) {
c, err := tc.GetConfig("Reorg", tc.Automation)
c, err := tc.GetConfig([]string{"Reorg"}, tc.Automation)
require.NoError(t, err, "Error getting config")

findIntValue := func(text string, substring string) (int, error) {
Expand Down Expand Up @@ -126,7 +126,7 @@ func TestAutomationReorg(t *testing.T) {
registryVersion := rv
t.Run(name, func(t *testing.T) {
t.Parallel()
config, err := tc.GetConfig("Reorg", tc.Automation)
config, err := tc.GetConfig([]string{"Reorg"}, tc.Automation)
if err != nil {
t.Fatal(err)
}
Expand Down
22 changes: 11 additions & 11 deletions integration-tests/smoke/automation_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ func SetupAutomationBasic(t *testing.T, nodeUpgrade bool) {
t.Parallel()
l := logging.GetTestLogger(t)

cfg, err := tc.GetConfig("Smoke", tc.Automation)
cfg, err := tc.GetConfig([]string{"Smoke"}, tc.Automation)
require.NoError(t, err, "Failed to get config")

if nodeUpgrade {
Expand Down Expand Up @@ -271,7 +271,7 @@ func TestSetUpkeepTriggerConfig(t *testing.T) {
registryVersion := rv
t.Run(name, func(t *testing.T) {
t.Parallel()
config, err := tc.GetConfig("Smoke", tc.Automation)
config, err := tc.GetConfig([]string{"Smoke"}, tc.Automation)
require.NoError(t, err, "Failed to get config")

a := setupAutomationTestDocker(
Expand Down Expand Up @@ -453,7 +453,7 @@ func TestAutomationAddFunds(t *testing.T) {
t.Run(name, func(t *testing.T) {
t.Parallel()
l := logging.GetTestLogger(t)
config, err := tc.GetConfig("Smoke", tc.Automation)
config, err := tc.GetConfig([]string{"Smoke"}, tc.Automation)
require.NoError(t, err, "Failed to get config")
a := setupAutomationTestDocker(
t, registryVersion, automationDefaultRegistryConfig(config), false, false, &config,
Expand Down Expand Up @@ -530,7 +530,7 @@ func TestAutomationPauseUnPause(t *testing.T) {
t.Run(name, func(t *testing.T) {
t.Parallel()
l := logging.GetTestLogger(t)
config, err := tc.GetConfig("Smoke", tc.Automation)
config, err := tc.GetConfig([]string{"Smoke"}, tc.Automation)
require.NoError(t, err, "Failed to get config")

a := setupAutomationTestDocker(
Expand Down Expand Up @@ -629,7 +629,7 @@ func TestAutomationRegisterUpkeep(t *testing.T) {
t.Run(name, func(t *testing.T) {
t.Parallel()
l := logging.GetTestLogger(t)
config, err := tc.GetConfig("Smoke", tc.Automation)
config, err := tc.GetConfig([]string{"Smoke"}, tc.Automation)
require.NoError(t, err, "Failed to get config")

a := setupAutomationTestDocker(
Expand Down Expand Up @@ -723,7 +723,7 @@ func TestAutomationPauseRegistry(t *testing.T) {
t.Run(name, func(t *testing.T) {
t.Parallel()

config, err := tc.GetConfig("Smoke", tc.Automation)
config, err := tc.GetConfig([]string{"Smoke"}, tc.Automation)
require.NoError(t, err, "Failed to get config")

a := setupAutomationTestDocker(
Expand Down Expand Up @@ -801,7 +801,7 @@ func TestAutomationKeeperNodesDown(t *testing.T) {
t.Run(name, func(t *testing.T) {
t.Parallel()
l := logging.GetTestLogger(t)
config, err := tc.GetConfig("Smoke", tc.Automation)
config, err := tc.GetConfig([]string{"Smoke"}, tc.Automation)
require.NoError(t, err, "Failed to get config")

a := setupAutomationTestDocker(
Expand Down Expand Up @@ -907,7 +907,7 @@ func TestAutomationPerformSimulation(t *testing.T) {
registryVersion := rv
t.Run(name, func(t *testing.T) {
t.Parallel()
config, err := tc.GetConfig("Smoke", tc.Automation)
config, err := tc.GetConfig([]string{"Smoke"}, tc.Automation)
require.NoError(t, err, "Failed to get config")

a := setupAutomationTestDocker(
Expand Down Expand Up @@ -979,7 +979,7 @@ func TestAutomationCheckPerformGasLimit(t *testing.T) {
t.Run(name, func(t *testing.T) {
t.Parallel()
l := logging.GetTestLogger(t)
config, err := tc.GetConfig("Smoke", tc.Automation)
config, err := tc.GetConfig([]string{"Smoke"}, tc.Automation)
require.NoError(t, err, "Failed to get config")
a := setupAutomationTestDocker(
t, registryVersion, automationDefaultRegistryConfig(config), false, false, &config,
Expand Down Expand Up @@ -1133,7 +1133,7 @@ func TestUpdateCheckData(t *testing.T) {
t.Run(name, func(t *testing.T) {
t.Parallel()
l := logging.GetTestLogger(t)
config, err := tc.GetConfig("Smoke", tc.Automation)
config, err := tc.GetConfig([]string{"Smoke"}, tc.Automation)
require.NoError(t, err, "Failed to get config")

a := setupAutomationTestDocker(
Expand Down Expand Up @@ -1213,7 +1213,7 @@ func TestSetOffchainConfigWithMaxGasPrice(t *testing.T) {
t.Run(name, func(t *testing.T) {
t.Parallel()
l := logging.GetTestLogger(t)
config, err := tc.GetConfig("Smoke", tc.Automation)
config, err := tc.GetConfig([]string{"Smoke"}, tc.Automation)
if err != nil {
t.Fatal(err)
}
Expand Down
Loading

0 comments on commit a0b85e4

Please sign in to comment.