Skip to content

Commit

Permalink
Debugging: print out filename for download package
Browse files Browse the repository at this point in the history
  • Loading branch information
ycombinator committed Oct 28, 2024
1 parent fc71697 commit 0760126
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: %s", fileName)

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

0 comments on commit 0760126

Please sign in to comment.