Skip to content

Commit 05e31c4

Browse files
authored
test(envoy/bootstrap): add keepalive values to bootstrap test (openservicemesh#5192)
Adds values to bootstrap test for keepalive changes made in openservicemesh#5189 Signed-off-by: Sanya Kochhar <[email protected]>
1 parent cea7863 commit 05e31c4

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

pkg/envoy/bootstrap/config_test.go

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,11 @@ static_resources:
110110
'@type': type.googleapis.com/envoy.extensions.upstreams.http.v3.HttpProtocolOptions
111111
explicit_http_config:
112112
http2_protocol_options: {}
113+
upstream_connection_options:
114+
tcp_keepalive:
115+
keepalive_interval: 5
116+
keepalive_probes: 5
117+
keepalive_time: 60
113118
- load_assignment:
114119
cluster_name: my-container_liveness_cluster
115120
endpoints:
@@ -451,6 +456,11 @@ static_resources:
451456
'@type': type.googleapis.com/envoy.extensions.upstreams.http.v3.HttpProtocolOptions
452457
explicit_http_config:
453458
http2_protocol_options: {}
459+
upstream_connection_options:
460+
tcp_keepalive:
461+
keepalive_interval: 5
462+
keepalive_probes: 5
463+
keepalive_time: 60
454464
- load_assignment:
455465
cluster_name: my-container-2_liveness_cluster
456466
endpoints:

0 commit comments

Comments
 (0)