From 7b66919fd944537efb648e57810c8df7cd53be93 Mon Sep 17 00:00:00 2001 From: Lukasz Dziedziak Date: Thu, 14 Nov 2024 11:14:54 +0100 Subject: [PATCH] test(unit): show that there is no timeout applied Signed-off-by: Lukasz Dziedziak --- .../basic_without_defaults_inbound_cluster.golden.yaml | 8 -------- .../basic_without_defaults_inbound_listener.golden.yaml | 6 +----- 2 files changed, 1 insertion(+), 13 deletions(-) diff --git a/pkg/plugins/policies/meshtimeout/plugin/testdata/basic_without_defaults_inbound_cluster.golden.yaml b/pkg/plugins/policies/meshtimeout/plugin/testdata/basic_without_defaults_inbound_cluster.golden.yaml index 7b6089227855..21bbf819ffa4 100644 --- a/pkg/plugins/policies/meshtimeout/plugin/testdata/basic_without_defaults_inbound_cluster.golden.yaml +++ b/pkg/plugins/policies/meshtimeout/plugin/testdata/basic_without_defaults_inbound_cluster.golden.yaml @@ -1,9 +1 @@ -connectTimeout: 5s name: localhost:8080 -typedExtensionProtocolOptions: - envoy.extensions.upstreams.http.v3.HttpProtocolOptions: - '@type': type.googleapis.com/envoy.extensions.upstreams.http.v3.HttpProtocolOptions - commonHttpProtocolOptions: - idleTimeout: 3600s - maxConnectionDuration: 5s - maxStreamDuration: 0s diff --git a/pkg/plugins/policies/meshtimeout/plugin/testdata/basic_without_defaults_inbound_listener.golden.yaml b/pkg/plugins/policies/meshtimeout/plugin/testdata/basic_without_defaults_inbound_listener.golden.yaml index 96ba77a927cd..40e713880159 100644 --- a/pkg/plugins/policies/meshtimeout/plugin/testdata/basic_without_defaults_inbound_listener.golden.yaml +++ b/pkg/plugins/policies/meshtimeout/plugin/testdata/basic_without_defaults_inbound_listener.golden.yaml @@ -8,13 +8,10 @@ filterChains: - name: envoy.filters.network.http_connection_manager typedConfig: '@type': type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager - commonHttpProtocolOptions: - idleTimeout: 0s httpFilters: - name: envoy.filters.http.router typedConfig: '@type': type.googleapis.com/envoy.extensions.filters.http.router.v3.Router - requestHeadersTimeout: 0s routeConfig: name: inbound:backend requestHeadersToRemove: @@ -29,8 +26,7 @@ filterChains: prefix: / route: cluster: backend - idleTimeout: 5s - timeout: 15s + timeout: 0s statPrefix: inbound_127_0_0_1_80 name: inbound:127.0.0.1:80 trafficDirection: INBOUND