From 59c4311bcde4923f6ff1de913f95766f2e4f62cf Mon Sep 17 00:00:00 2001 From: Pablo Baeyens Date: Tue, 30 Jul 2024 16:24:29 +0200 Subject: [PATCH] [chore] Show that test passes in v0.105.0 --- receiver/otlpreceiver/config_test.go | 4 ++++ receiver/otlpreceiver/testdata/config.yaml | 2 ++ 2 files changed, 6 insertions(+) diff --git a/receiver/otlpreceiver/config_test.go b/receiver/otlpreceiver/config_test.go index bd02edd411e..01d74ff5793 100644 --- a/receiver/otlpreceiver/config_test.go +++ b/receiver/otlpreceiver/config_test.go @@ -12,6 +12,7 @@ import ( "github.com/stretchr/testify/require" "go.opentelemetry.io/collector/component" + "go.opentelemetry.io/collector/config/configauth" "go.opentelemetry.io/collector/config/configgrpc" "go.opentelemetry.io/collector/config/confighttp" "go.opentelemetry.io/collector/config/confignet" @@ -117,6 +118,9 @@ func TestUnmarshalConfig(t *testing.T) { }, HTTP: &HTTPConfig{ ServerConfig: &confighttp.ServerConfig{ + Auth: &configauth.Authentication{ + AuthenticatorID: component.MustNewID("test"), + }, Endpoint: "localhost:4318", TLSSetting: &configtls.ServerConfig{ Config: configtls.Config{ diff --git a/receiver/otlpreceiver/testdata/config.yaml b/receiver/otlpreceiver/testdata/config.yaml index 018f8d664d8..65d64781814 100644 --- a/receiver/otlpreceiver/testdata/config.yaml +++ b/receiver/otlpreceiver/testdata/config.yaml @@ -26,6 +26,8 @@ protocols: min_time: 10s permit_without_stream: true http: + auth: + authenticator: test # The following entry demonstrates how to specify TLS credentials for the server. # Note: These files do not exist. If the receiver is started with this configuration, it will fail. tls: