From d12916edc6ccd8e854b82242efcac3c77375131e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20de=20la=20Pe=C3=B1a?= Date: Thu, 4 Feb 2021 17:22:56 +0100 Subject: [PATCH] fix: update method args --- e2e/_suites/fleet/services_test.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/e2e/_suites/fleet/services_test.go b/e2e/_suites/fleet/services_test.go index cbaf1abdf7..7250297e59 100644 --- a/e2e/_suites/fleet/services_test.go +++ b/e2e/_suites/fleet/services_test.go @@ -24,7 +24,7 @@ func TestDownloadAgentBinary(t *testing.T) { arch := "foo_arch" extension := "foo_ext" - _, _, err := downloadAgentBinary(artifact, version, OS, arch, extension) + _, _, err := downloadAgentBinary(artifact, version, OS, arch, extension, false) assert.NotNil(t, err) }) @@ -36,7 +36,7 @@ func TestDownloadAgentBinary(t *testing.T) { extension := "rpm" expectedFileName := "elastic-agent-8.0.0-SNAPSHOT-x86_64.rpm" - newFileName, downloadedFilePath, err := downloadAgentBinary(artifact, version, OS, arch, extension) + newFileName, downloadedFilePath, err := downloadAgentBinary(artifact, version, OS, arch, extension, false) assert.Nil(t, err) assert.Equal(t, newFileName, expectedFileName) assert.Equal(t, downloadedFilePath, path.Join(distributionsDir, expectedFileName)) @@ -50,7 +50,7 @@ func TestDownloadAgentBinary(t *testing.T) { extension := "deb" expectedFileName := "elastic-agent-8.0.0-SNAPSHOT-amd64.deb" - newFileName, downloadedFilePath, err := downloadAgentBinary(artifact, version, OS, arch, extension) + newFileName, downloadedFilePath, err := downloadAgentBinary(artifact, version, OS, arch, extension, false) assert.Nil(t, err) assert.Equal(t, newFileName, expectedFileName) assert.Equal(t, downloadedFilePath, path.Join(distributionsDir, expectedFileName)) @@ -64,7 +64,7 @@ func TestDownloadAgentBinary(t *testing.T) { extension := "tar.gz" expectedFileName := "elastic-agent-8.0.0-SNAPSHOT-linux-amd64.tar.gz" - newFileName, downloadedFilePath, err := downloadAgentBinary(artifact, version, OS, arch, extension) + newFileName, downloadedFilePath, err := downloadAgentBinary(artifact, version, OS, arch, extension, false) assert.Nil(t, err) assert.Equal(t, newFileName, expectedFileName) assert.Equal(t, downloadedFilePath, path.Join(distributionsDir, expectedFileName))