Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 9d98ac8

Browse files
committedSep 5, 2024··
remove call to logp.DevelopmentSetup
1 parent 87a5ca0 commit 9d98ac8

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)
Please sign in to comment.