Skip to content

Commit 266e34f

Browse files
committed
WIP: Try a short KeepAlive
1 parent 0220b58 commit 266e34f

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

tests/framework/agent.go

+2
Original file line numberDiff line numberDiff line change
@@ -262,5 +262,7 @@ func agentOptions(t testing.TB, opts AgentOpts) (*agentopts.GrpcProxyAgentOption
262262
o.HealthServerPort = ports[0]
263263
o.AdminServerPort = ports[1]
264264

265+
o.KeepaliveTime = 5 * time.Second
266+
265267
return o, nil
266268
}

tests/framework/proxy_server.go

+3
Original file line numberDiff line numberDiff line change
@@ -167,5 +167,8 @@ func serverOptions(t testing.TB, opts ProxyServerOpts) (*serveropts.ProxyRunOpti
167167
o.HealthPort = ports[1]
168168
o.AdminPort = ports[2]
169169

170+
o.KeepaliveTime = 5 * time.Second
171+
o.FrontendKeepaliveTime = 5 * time.Second
172+
170173
return o, nil
171174
}

0 commit comments

Comments
 (0)