Skip to content

Commit

Permalink
test(xds): update golden files
Browse files Browse the repository at this point in the history
Signed-off-by: Mike Beaumont <mjboamail@gmail.com>
  • Loading branch information
michaelbeaumont committed Aug 8, 2022
1 parent 145e64e commit 297d8f7
Show file tree
Hide file tree
Showing 32 changed files with 178 additions and 59 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,9 @@ Clusters:
commonHttpProtocolOptions:
idleTimeout: 3600s
explicitHttpConfig:
http2ProtocolOptions: {}
http2ProtocolOptions:
initialConnectionWindowSize: 1048576
initialStreamWindowSize: 65536
Endpoints:
Resources: {}
Listeners:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,9 @@ Clusters:
commonHttpProtocolOptions:
idleTimeout: 3600s
explicitHttpConfig:
http2ProtocolOptions: {}
http2ProtocolOptions:
initialConnectionWindowSize: 1048576
initialStreamWindowSize: 65536
Endpoints:
Resources:
echo-service-bfae5b64a0fe8b74:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,9 @@ Clusters:
idleTimeout: 115s
maxStreamDuration: 117s
explicitHttpConfig:
http2ProtocolOptions: {}
http2ProtocolOptions:
initialConnectionWindowSize: 1048576
initialStreamWindowSize: 65536
Endpoints:
Resources: {}
Listeners:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,9 @@ Clusters:
commonHttpProtocolOptions:
idleTimeout: 3600s
explicitHttpConfig:
http2ProtocolOptions: {}
http2ProtocolOptions:
initialConnectionWindowSize: 1048576
initialStreamWindowSize: 65536
Endpoints:
Resources: {}
Listeners:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,9 @@ Clusters:
commonHttpProtocolOptions:
idleTimeout: 3600s
explicitHttpConfig:
http2ProtocolOptions: {}
http2ProtocolOptions:
initialConnectionWindowSize: 1048576
initialStreamWindowSize: 65536
Endpoints:
Resources:
echo-service-bfae5b64a0fe8b74:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,9 @@ Clusters:
idleTimeout: 115s
maxStreamDuration: 117s
explicitHttpConfig:
http2ProtocolOptions: {}
http2ProtocolOptions:
initialConnectionWindowSize: 1048576
initialStreamWindowSize: 65536
Endpoints:
Resources: {}
Listeners:
Expand Down
8 changes: 6 additions & 2 deletions pkg/xds/bootstrap/testdata/bootstrap.gateway.golden.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,9 @@ staticResources:
envoy.extensions.upstreams.http.v3.HttpProtocolOptions:
'@type': type.googleapis.com/envoy.extensions.upstreams.http.v3.HttpProtocolOptions
explicitHttpConfig:
http2ProtocolOptions: {}
http2ProtocolOptions:
initialConnectionWindowSize: 1048576
initialStreamWindowSize: 65536
upstreamConnectionOptions:
tcpKeepalive:
keepaliveInterval: 10
Expand Down Expand Up @@ -116,7 +118,9 @@ staticResources:
envoy.extensions.upstreams.http.v3.HttpProtocolOptions:
'@type': type.googleapis.com/envoy.extensions.upstreams.http.v3.HttpProtocolOptions
explicitHttpConfig:
http2ProtocolOptions: {}
http2ProtocolOptions:
initialConnectionWindowSize: 1048576
initialStreamWindowSize: 65536
upstreamConnectionOptions:
tcpKeepalive:
keepaliveInterval: 10
Expand Down
8 changes: 6 additions & 2 deletions pkg/xds/bootstrap/testdata/bootstrap.k8s.golden.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,9 @@ staticResources:
envoy.extensions.upstreams.http.v3.HttpProtocolOptions:
'@type': type.googleapis.com/envoy.extensions.upstreams.http.v3.HttpProtocolOptions
explicitHttpConfig:
http2ProtocolOptions: {}
http2ProtocolOptions:
initialConnectionWindowSize: 1048576
initialStreamWindowSize: 65536
upstreamConnectionOptions:
tcpKeepalive:
keepaliveInterval: 10
Expand Down Expand Up @@ -98,7 +100,9 @@ staticResources:
envoy.extensions.upstreams.http.v3.HttpProtocolOptions:
'@type': type.googleapis.com/envoy.extensions.upstreams.http.v3.HttpProtocolOptions
explicitHttpConfig:
http2ProtocolOptions: {}
http2ProtocolOptions:
initialConnectionWindowSize: 1048576
initialStreamWindowSize: 65536
upstreamConnectionOptions:
tcpKeepalive:
keepaliveInterval: 10
Expand Down
8 changes: 6 additions & 2 deletions pkg/xds/bootstrap/testdata/bootstrap.overridden.golden.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,9 @@ staticResources:
envoy.extensions.upstreams.http.v3.HttpProtocolOptions:
'@type': type.googleapis.com/envoy.extensions.upstreams.http.v3.HttpProtocolOptions
explicitHttpConfig:
http2ProtocolOptions: {}
http2ProtocolOptions:
initialConnectionWindowSize: 1048576
initialStreamWindowSize: 65536
upstreamConnectionOptions:
tcpKeepalive:
keepaliveInterval: 10
Expand Down Expand Up @@ -109,7 +111,9 @@ staticResources:
envoy.extensions.upstreams.http.v3.HttpProtocolOptions:
'@type': type.googleapis.com/envoy.extensions.upstreams.http.v3.HttpProtocolOptions
explicitHttpConfig:
http2ProtocolOptions: {}
http2ProtocolOptions:
initialConnectionWindowSize: 1048576
initialStreamWindowSize: 65536
upstreamConnectionOptions:
tcpKeepalive:
keepaliveInterval: 10
Expand Down
8 changes: 6 additions & 2 deletions pkg/xds/bootstrap/testdata/bootstrap.universal.golden.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,9 @@ staticResources:
envoy.extensions.upstreams.http.v3.HttpProtocolOptions:
'@type': type.googleapis.com/envoy.extensions.upstreams.http.v3.HttpProtocolOptions
explicitHttpConfig:
http2ProtocolOptions: {}
http2ProtocolOptions:
initialConnectionWindowSize: 1048576
initialStreamWindowSize: 65536
upstreamConnectionOptions:
tcpKeepalive:
keepaliveInterval: 10
Expand Down Expand Up @@ -98,7 +100,9 @@ staticResources:
envoy.extensions.upstreams.http.v3.HttpProtocolOptions:
'@type': type.googleapis.com/envoy.extensions.upstreams.http.v3.HttpProtocolOptions
explicitHttpConfig:
http2ProtocolOptions: {}
http2ProtocolOptions:
initialConnectionWindowSize: 1048576
initialStreamWindowSize: 65536
upstreamConnectionOptions:
tcpKeepalive:
keepaliveInterval: 10
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,9 @@ staticResources:
envoy.extensions.upstreams.http.v3.HttpProtocolOptions:
'@type': type.googleapis.com/envoy.extensions.upstreams.http.v3.HttpProtocolOptions
explicitHttpConfig:
http2ProtocolOptions: {}
http2ProtocolOptions:
initialConnectionWindowSize: 1048576
initialStreamWindowSize: 65536
upstreamConnectionOptions:
tcpKeepalive:
keepaliveInterval: 10
Expand Down Expand Up @@ -103,7 +105,9 @@ staticResources:
envoy.extensions.upstreams.http.v3.HttpProtocolOptions:
'@type': type.googleapis.com/envoy.extensions.upstreams.http.v3.HttpProtocolOptions
explicitHttpConfig:
http2ProtocolOptions: {}
http2ProtocolOptions:
initialConnectionWindowSize: 1048576
initialStreamWindowSize: 65536
upstreamConnectionOptions:
tcpKeepalive:
keepaliveInterval: 10
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,9 @@ staticResources:
envoy.extensions.upstreams.http.v3.HttpProtocolOptions:
'@type': type.googleapis.com/envoy.extensions.upstreams.http.v3.HttpProtocolOptions
explicitHttpConfig:
http2ProtocolOptions: {}
http2ProtocolOptions:
initialConnectionWindowSize: 1048576
initialStreamWindowSize: 65536
upstreamConnectionOptions:
tcpKeepalive:
keepaliveInterval: 10
Expand Down Expand Up @@ -136,7 +138,9 @@ staticResources:
envoy.extensions.upstreams.http.v3.HttpProtocolOptions:
'@type': type.googleapis.com/envoy.extensions.upstreams.http.v3.HttpProtocolOptions
explicitHttpConfig:
http2ProtocolOptions: {}
http2ProtocolOptions:
initialConnectionWindowSize: 1048576
initialStreamWindowSize: 65536
upstreamConnectionOptions:
tcpKeepalive:
keepaliveInterval: 10
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,9 @@ staticResources:
envoy.extensions.upstreams.http.v3.HttpProtocolOptions:
'@type': type.googleapis.com/envoy.extensions.upstreams.http.v3.HttpProtocolOptions
explicitHttpConfig:
http2ProtocolOptions: {}
http2ProtocolOptions:
initialConnectionWindowSize: 1048576
initialStreamWindowSize: 65536
upstreamConnectionOptions:
tcpKeepalive:
keepaliveInterval: 10
Expand Down Expand Up @@ -92,7 +94,9 @@ staticResources:
envoy.extensions.upstreams.http.v3.HttpProtocolOptions:
'@type': type.googleapis.com/envoy.extensions.upstreams.http.v3.HttpProtocolOptions
explicitHttpConfig:
http2ProtocolOptions: {}
http2ProtocolOptions:
initialConnectionWindowSize: 1048576
initialStreamWindowSize: 65536
upstreamConnectionOptions:
tcpKeepalive:
keepaliveInterval: 10
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,9 @@ staticResources:
envoy.extensions.upstreams.http.v3.HttpProtocolOptions:
'@type': type.googleapis.com/envoy.extensions.upstreams.http.v3.HttpProtocolOptions
explicitHttpConfig:
http2ProtocolOptions: {}
http2ProtocolOptions:
initialConnectionWindowSize: 1048576
initialStreamWindowSize: 65536
upstreamConnectionOptions:
tcpKeepalive:
keepaliveInterval: 10
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,9 @@ staticResources:
envoy.extensions.upstreams.http.v3.HttpProtocolOptions:
'@type': type.googleapis.com/envoy.extensions.upstreams.http.v3.HttpProtocolOptions
explicitHttpConfig:
http2ProtocolOptions: {}
http2ProtocolOptions:
initialConnectionWindowSize: 1048576
initialStreamWindowSize: 65536
upstreamConnectionOptions:
tcpKeepalive:
keepaliveInterval: 10
Expand Down Expand Up @@ -111,7 +113,9 @@ staticResources:
envoy.extensions.upstreams.http.v3.HttpProtocolOptions:
'@type': type.googleapis.com/envoy.extensions.upstreams.http.v3.HttpProtocolOptions
explicitHttpConfig:
http2ProtocolOptions: {}
http2ProtocolOptions:
initialConnectionWindowSize: 1048576
initialStreamWindowSize: 65536
upstreamConnectionOptions:
tcpKeepalive:
keepaliveInterval: 10
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,9 @@ staticResources:
envoy.extensions.upstreams.http.v3.HttpProtocolOptions:
'@type': type.googleapis.com/envoy.extensions.upstreams.http.v3.HttpProtocolOptions
explicitHttpConfig:
http2ProtocolOptions: {}
http2ProtocolOptions:
initialConnectionWindowSize: 1048576
initialStreamWindowSize: 65536
upstreamConnectionOptions:
tcpKeepalive:
keepaliveInterval: 10
Expand Down Expand Up @@ -99,7 +101,9 @@ staticResources:
envoy.extensions.upstreams.http.v3.HttpProtocolOptions:
'@type': type.googleapis.com/envoy.extensions.upstreams.http.v3.HttpProtocolOptions
explicitHttpConfig:
http2ProtocolOptions: {}
http2ProtocolOptions:
initialConnectionWindowSize: 1048576
initialStreamWindowSize: 65536
upstreamConnectionOptions:
tcpKeepalive:
keepaliveInterval: 10
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,9 @@ staticResources:
envoy.extensions.upstreams.http.v3.HttpProtocolOptions:
'@type': type.googleapis.com/envoy.extensions.upstreams.http.v3.HttpProtocolOptions
explicitHttpConfig:
http2ProtocolOptions: {}
http2ProtocolOptions:
initialConnectionWindowSize: 1048576
initialStreamWindowSize: 65536
upstreamConnectionOptions:
tcpKeepalive:
keepaliveInterval: 10
Expand Down Expand Up @@ -99,7 +101,9 @@ staticResources:
envoy.extensions.upstreams.http.v3.HttpProtocolOptions:
'@type': type.googleapis.com/envoy.extensions.upstreams.http.v3.HttpProtocolOptions
explicitHttpConfig:
http2ProtocolOptions: {}
http2ProtocolOptions:
initialConnectionWindowSize: 1048576
initialStreamWindowSize: 65536
upstreamConnectionOptions:
tcpKeepalive:
keepaliveInterval: 10
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,9 @@ staticResources:
envoy.extensions.upstreams.http.v3.HttpProtocolOptions:
'@type': type.googleapis.com/envoy.extensions.upstreams.http.v3.HttpProtocolOptions
explicitHttpConfig:
http2ProtocolOptions: {}
http2ProtocolOptions:
initialConnectionWindowSize: 1048576
initialStreamWindowSize: 65536
upstreamConnectionOptions:
tcpKeepalive:
keepaliveInterval: 10
Expand Down Expand Up @@ -99,7 +101,9 @@ staticResources:
envoy.extensions.upstreams.http.v3.HttpProtocolOptions:
'@type': type.googleapis.com/envoy.extensions.upstreams.http.v3.HttpProtocolOptions
explicitHttpConfig:
http2ProtocolOptions: {}
http2ProtocolOptions:
initialConnectionWindowSize: 1048576
initialStreamWindowSize: 65536
upstreamConnectionOptions:
tcpKeepalive:
keepaliveInterval: 10
Expand Down
5 changes: 4 additions & 1 deletion pkg/xds/envoy/clusters/v3/http2_configurer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@ var _ = Describe("Http2Configurer", func() {
envoy.extensions.upstreams.http.v3.HttpProtocolOptions:
'@type': type.googleapis.com/envoy.extensions.upstreams.http.v3.HttpProtocolOptions
explicitHttpConfig:
http2ProtocolOptions: {}`
http2ProtocolOptions:
initialConnectionWindowSize: 1048576
initialStreamWindowSize: 65536
`

// when
cluster, err := clusters.NewClusterBuilder(envoy.APIV3).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,9 @@ resources:
envoy.extensions.upstreams.http.v3.HttpProtocolOptions:
'@type': type.googleapis.com/envoy.extensions.upstreams.http.v3.HttpProtocolOptions
explicitHttpConfig:
http2ProtocolOptions: {}
http2ProtocolOptions:
initialConnectionWindowSize: 1048576
initialStreamWindowSize: 65536
- name: mesh-1:service-1-zone-2
resource:
'@type': type.googleapis.com/envoy.config.cluster.v3.Cluster
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,9 @@ resources:
envoy.extensions.upstreams.http.v3.HttpProtocolOptions:
'@type': type.googleapis.com/envoy.extensions.upstreams.http.v3.HttpProtocolOptions
explicitHttpConfig:
http2ProtocolOptions: {}
http2ProtocolOptions:
initialConnectionWindowSize: 1048576
initialStreamWindowSize: 65536
- name: mesh-1:service-1-zone-2
resource:
'@type': type.googleapis.com/envoy.config.cluster.v3.Cluster
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,9 @@ resources:
envoy.extensions.upstreams.http.v3.HttpProtocolOptions:
'@type': type.googleapis.com/envoy.extensions.upstreams.http.v3.HttpProtocolOptions
explicitHttpConfig:
http2ProtocolOptions: {}
http2ProtocolOptions:
initialConnectionWindowSize: 1048576
initialStreamWindowSize: 65536
- name: mesh-1:service-1-zone-2
resource:
'@type': type.googleapis.com/envoy.config.cluster.v3.Cluster
Expand Down
Loading

0 comments on commit 297d8f7

Please sign in to comment.