From bd8f9bd63a3930fc47635b417e88980f2bb6e95e Mon Sep 17 00:00:00 2001 From: Kevin Fairise <132568982+KevinFairise2@users.noreply.github.com> Date: Thu, 2 Jul 2026 14:08:59 +0200 Subject: [PATCH] =?UTF-8?q?Revert=20"Make=20sure=20we=20keep=20the=20testi?= =?UTF-8?q?ng=20params=20when=20extra=20params=20does=20not=20overr?= =?UTF-8?q?=E2=80=A6"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 3455b9eb666ddb569a139cf7943ce6f00a683800. --- test/e2e/common.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/e2e/common.go b/test/e2e/common.go index af5a0a2b..846bafd4 100644 --- a/test/e2e/common.go +++ b/test/e2e/common.go @@ -109,7 +109,7 @@ func (s *linuxInstallerTestSuite) InstallAgent(agentVersion int, extraParam ...s } extraParamLength := len(extraParam) - if agentVersion == 7 && !strings.Contains(strings.Join(extraParam, " "), "DD_AGENT_MINOR_VERSION") { // If DD_AGENT_MINOR_VERSION is set, we need to not set the testing variables + if agentVersion == 7 && extraParamLength == 0 { if val, ok := os.LookupEnv("TESTING_YUM_VERSION_PATH"); ok { scriptEnvVariable = scriptEnvVariable + fmt.Sprintf(" TESTING_YUM_VERSION_PATH='%s'", val) }