Skip to content

Commit

Permalink
Avoid looking up core agent hostname in tests that don't need it (#31357
Browse files Browse the repository at this point in the history
)
  • Loading branch information
ajgajg1134 authored Nov 22, 2024
1 parent aaccbaa commit c33fab7
Show file tree
Hide file tree
Showing 2 changed files with 126 additions and 127 deletions.
2 changes: 1 addition & 1 deletion comp/trace/config/config_otlp_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
)

func TestFullYamlConfigWithOTLP(t *testing.T) {
config := buildConfigComponent(t, fx.Replace(corecomp.MockParams{
config := buildConfigComponent(t, true, fx.Replace(corecomp.MockParams{
Params: corecomp.Params{ConfFilePath: "./testdata/full.yaml"},
}))
cfg := config.Object()
Expand Down
Loading

0 comments on commit c33fab7

Please sign in to comment.