Skip to content

Commit

Permalink
skip warmup time on e2e tests
Browse files Browse the repository at this point in the history
Signed-off-by: Esme Lamb <[email protected]>
  • Loading branch information
dedelala committed Nov 21, 2024
1 parent 61d4b71 commit 3142f87
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions go/test/endtoend/vtgateproxy/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ func NewVtgateProxyProcess(logDir, vtgateHostsFile, affinity, balancerType strin
GrpcPort: grpcPort,
MySQLPort: mySQLPort,
VerifyURL: "http://" + net.JoinHostPort("localhost", strconv.Itoa(httpPort)) + "/debug/vars",
WarmupTime: 0 * time.Second,
}
}

Expand All @@ -188,6 +189,7 @@ type VtgateProxyProcess struct {
MySQLPort int
ExtraArgs []string
VerifyURL string
WarmupTime time.Duration

proc *exec.Cmd
exit chan error
Expand All @@ -207,6 +209,7 @@ func (vt *VtgateProxyProcess) Setup() error {
"--affinity_value", vt.AffinityValue,
"--num_connections", strconv.Itoa(vt.NumConnections),
"--log_dir", vt.LogDir,
"--warmup_time", vt.WarmupTime.String(),
"--v", "999",
"--mysql_auth_server_impl", "none",
"--alsologtostderr",
Expand Down

0 comments on commit 3142f87

Please sign in to comment.