Skip to content

Commit

Permalink
Log filename for package being downloaded (#4132)
Browse files Browse the repository at this point in the history
(cherry picked from commit cd252b1)
  • Loading branch information
ycombinator authored and mergify[bot] committed Nov 21, 2024
1 parent 99f97b4 commit fc6ed5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testing/e2e/agent_install_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ func (suite *AgentInstallSuite) downloadAgent(ctx context.Context) io.ReadCloser

fileName := fmt.Sprintf("elastic-agent-%s-SNAPSHOT-%s-%s.%s", version.DefaultVersion, runtime.GOOS, arch, fType)
pkg, ok := body.Packages[fileName]
suite.Require().True(ok, "unable to find package download")
suite.Require().Truef(ok, "unable to find package download for fileName = %s", fileName)

req, err = http.NewRequestWithContext(ctx, "GET", pkg.URL, nil)
suite.Require().NoError(err)
Expand Down

0 comments on commit fc6ed5a

Please sign in to comment.