From a5e31cc67453c90a9744c6cf0d492674810f7e5d Mon Sep 17 00:00:00 2001 From: anirudhwarrier <12178754+anirudhwarrier@users.noreply.github.com> Date: Thu, 4 Apr 2024 22:02:31 +0400 Subject: [PATCH] fix logtrigger mercury test --- integration-tests/smoke/automation_test.go | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/integration-tests/smoke/automation_test.go b/integration-tests/smoke/automation_test.go index b8305eb38fe..5e3d18b5951 100644 --- a/integration-tests/smoke/automation_test.go +++ b/integration-tests/smoke/automation_test.go @@ -140,13 +140,6 @@ func SetupAutomationBasic(t *testing.T, nodeUpgrade bool, automationTestConfig t ) for i := 0; i < len(upkeepIDs); i++ { - if isLogTrigger || isMercuryV02 { - if err := consumers[i].Start(); err != nil { - l.Error().Msg("Error when starting consumer") - return - } - } - if isMercury { // Set privilege config to enable mercury privilegeConfigBytes, _ := json.Marshal(streams.UpkeepPrivilegeConfig{ @@ -157,6 +150,13 @@ func SetupAutomationBasic(t *testing.T, nodeUpgrade bool, automationTestConfig t return } } + + if isLogTrigger || isMercuryV02 { + if err := consumers[i].Start(); err != nil { + l.Error().Msg("Error when starting consumer") + return + } + } } l.Info().Msg("Waiting for all upkeeps to be performed")