Skip to content

Commit 72924bc

Browse files
committed
remove call to logp.DevelopmentSetup
1 parent c187045 commit 72924bc

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

internal/pkg/agent/application/actions/handlers/handler_action_upgrade_test.go

-3
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ import (
1313

1414
"github.com/stretchr/testify/require"
1515

16-
"github.com/elastic/elastic-agent-libs/logp"
1716
"github.com/elastic/elastic-agent/internal/pkg/agent/application/coordinator"
1817
"github.com/elastic/elastic-agent/internal/pkg/agent/application/info"
1918
"github.com/elastic/elastic-agent/internal/pkg/agent/application/reexec"
@@ -133,8 +132,6 @@ func TestUpgradeHandler(t *testing.T) {
133132
func TestUpgradeHandlerSameVersion(t *testing.T) {
134133
// Create a cancellable context that will shut down the coordinator after
135134
// the test.
136-
logp.DevelopmentSetup()
137-
logger.SetLevel(logp.DebugLevel)
138135
ctx, cancel := context.WithCancel(context.Background())
139136
defer cancel()
140137

0 commit comments

Comments
 (0)