Skip to content

Commit

Permalink
[chore] Fix tests related to incorrect type for otelarrow receiver (o…
Browse files Browse the repository at this point in the history
…pen-telemetry#38263)

Signed-off-by: Bogdan Drutu <[email protected]>
  • Loading branch information
bogdandrutu authored Feb 28, 2025
1 parent 6bb304e commit 8279e5b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions receiver/otelarrowreceiver/otelarrow_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -582,7 +582,7 @@ func TestGRPCArrowReceiver(t *testing.T) {
cfg := factory.CreateDefaultConfig().(*Config)
cfg.GRPC.NetAddr.Endpoint = addr
cfg.GRPC.IncludeMetadata = true
id := component.NewID(component.MustNewType("arrow"))
id := component.NewID(componentmetadata.Type)
tt := componenttest.NewNopTelemetrySettings()
ocr := newReceiver(t, factory, tt, cfg, id, sink, nil)

Expand Down Expand Up @@ -695,7 +695,7 @@ func TestGRPCArrowReceiverAuth(t *testing.T) {
cfg.GRPC.Auth = &configauth.Authentication{
AuthenticatorID: authID,
}
id := component.NewID(component.MustNewType("arrow"))
id := component.NewID(componentmetadata.Type)
tt := componenttest.NewNopTelemetrySettings()
ocr := newReceiver(t, factory, tt, cfg, id, sink, nil)

Expand Down Expand Up @@ -762,7 +762,7 @@ func TestConcurrentArrowReceiver(t *testing.T) {
cfg := factory.CreateDefaultConfig().(*Config)
cfg.GRPC.NetAddr.Endpoint = addr
cfg.GRPC.IncludeMetadata = true
id := component.NewID(component.MustNewType("arrow"))
id := component.NewID(componentmetadata.Type)
tt := componenttest.NewNopTelemetrySettings()
ocr := newReceiver(t, factory, tt, cfg, id, sink, nil)

Expand Down

0 comments on commit 8279e5b

Please sign in to comment.