Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
atoulme committed Jan 15, 2025
1 parent 444b5c1 commit 33547ed
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/testutils/golden.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ func RunMetricsCollectionTest(t *testing.T, configFile string, expectedFilePath
port := GetAvailablePort(t)
c := f.CreateDefaultConfig().(*otlpreceiver.Config)
c.GRPC.NetAddr.Endpoint = fmt.Sprintf("localhost:%d", port)
c.HTTP = nil
sink := &consumertest.MetricsSink{}
receiver, err := f.CreateMetrics(context.Background(), receivertest.NewNopSettings(), c, sink)
require.NoError(t, err)
Expand Down

0 comments on commit 33547ed

Please sign in to comment.