diff --git a/pkg/testing/fixture_install.go b/pkg/testing/fixture_install.go index 81ca7025e3a..469ffdde74f 100644 --- a/pkg/testing/fixture_install.go +++ b/pkg/testing/fixture_install.go @@ -87,6 +87,7 @@ func (i InstallOpts) toCmdArgs() []string { // - the combined output of stdout and stderr // - an error if any. func (f *Fixture) Install(ctx context.Context, installOpts *InstallOpts, opts ...process.CmdOption) ([]byte, error) { + f.t.Logf("[test %s] Inside fixture install function", f.t.Name()) installArgs := []string{"install"} if installOpts != nil { installArgs = append(installArgs, installOpts.toCmdArgs()...) @@ -110,6 +111,7 @@ func (f *Fixture) Install(ctx context.Context, installOpts *InstallOpts, opts .. f.setClient(c) f.t.Cleanup(func() { + f.t.Logf("[test %s] Inside fixture cleanup function", f.t.Name()) if !f.installed { f.t.Logf("skipping uninstall; agent not installed (fixture.installed is false)") // not installed; no need to clean up or collect diagnostics diff --git a/testing/integration/upgrade_test.go b/testing/integration/upgrade_test.go index df3d4094129..4f0c6300912 100644 --- a/testing/integration/upgrade_test.go +++ b/testing/integration/upgrade_test.go @@ -1003,8 +1003,6 @@ func TestStandaloneUpgradeFailsStatus(t *testing.T) { Sudo: true, // requires Agent installation }) - t.Skip("Affected by https://github.com/elastic/elastic-agent/issues/3371, watcher left running at end of test") - upgradeFromVersion, err := version.ParseVersion(define.Version()) require.NoError(t, err)