Skip to content

Commit e5dadea

Browse files
Increase query expvar timeout (#20630) (#20711)
(cherry picked from commit f2ee8dc) Co-authored-by: Eric <22215921+ericywl@users.noreply.github.com>
1 parent aef8334 commit e5dadea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

systemtest/benchtest/expvar/metrics.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ func run(ctx context.Context, serverURL string, period time.Duration) (<-chan ex
263263
return
264264
case <-ticker.C:
265265
var e expvar
266-
ctxWithTimeout, cancel := context.WithTimeout(ctx, period+5*time.Second)
266+
ctxWithTimeout, cancel := context.WithTimeout(ctx, period+30*time.Second)
267267
err := queryExpvar(ctxWithTimeout, &e, serverURL)
268268
cancel()
269269
if err != nil {

0 commit comments

Comments
 (0)