From 00ce4f5769c6dde6871325a50599419019003330 Mon Sep 17 00:00:00 2001 From: zirain Date: Tue, 21 May 2024 08:03:39 +0800 Subject: [PATCH] update test --- .../testdata/in/xds-ir/tracing-endpoint-stats.yaml | 1 + .../testdata/out/xds-ir/tracing-endpoint-stats.clusters.yaml | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/internal/xds/translator/testdata/in/xds-ir/tracing-endpoint-stats.yaml b/internal/xds/translator/testdata/in/xds-ir/tracing-endpoint-stats.yaml index bd5d2eed1f98..f57949f2ce40 100644 --- a/internal/xds/translator/testdata/in/xds-ir/tracing-endpoint-stats.yaml +++ b/internal/xds/translator/testdata/in/xds-ir/tracing-endpoint-stats.yaml @@ -26,6 +26,7 @@ tracing: - endpoints: - host: "otel-collector.default.svc.cluster.local" port: 4317 + protocol: "GRPC" http: - name: "first-listener" address: "0.0.0.0" diff --git a/internal/xds/translator/testdata/out/xds-ir/tracing-endpoint-stats.clusters.yaml b/internal/xds/translator/testdata/out/xds-ir/tracing-endpoint-stats.clusters.yaml index 721a445745e0..0936f4b459a4 100644 --- a/internal/xds/translator/testdata/out/xds-ir/tracing-endpoint-stats.clusters.yaml +++ b/internal/xds/translator/testdata/out/xds-ir/tracing-endpoint-stats.clusters.yaml @@ -46,3 +46,8 @@ trackClusterStats: perEndpointStats: true type: STRICT_DNS + typedExtensionProtocolOptions: + envoy.extensions.upstreams.http.v3.HttpProtocolOptions: + '@type': type.googleapis.com/envoy.extensions.upstreams.http.v3.HttpProtocolOptions + explicitHttpConfig: + http2ProtocolOptions: {}