From d550a2a901ec111d117c6ecbf71ac88403077110 Mon Sep 17 00:00:00 2001 From: Pablo Baeyens Date: Thu, 1 Feb 2024 12:38:58 +0100 Subject: [PATCH] [chore][receiver/oracledb] Fix test --- receiver/oracledbreceiver/factory_test.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/receiver/oracledbreceiver/factory_test.go b/receiver/oracledbreceiver/factory_test.go index ca6e2d6d6164..c8b1bbd48b3f 100644 --- a/receiver/oracledbreceiver/factory_test.go +++ b/receiver/oracledbreceiver/factory_test.go @@ -15,6 +15,8 @@ import ( "go.opentelemetry.io/collector/receiver" noopmetric "go.opentelemetry.io/otel/metric/noop" nooptrace "go.opentelemetry.io/otel/trace/noop" + + "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/oracledbreceiver/internal/metadata" ) func TestNewFactory(t *testing.T) { @@ -22,6 +24,7 @@ func TestNewFactory(t *testing.T) { _, err := factory.CreateMetricsReceiver( context.Background(), receiver.CreateSettings{ + ID: component.NewID(metadata.Type), TelemetrySettings: component.TelemetrySettings{ TracerProvider: nooptrace.NewTracerProvider(), MeterProvider: noopmetric.NewMeterProvider(),