]> Cypherpunks repositories - gostls13.git/commit
runtime: don't artificially limit TestReadMetricsSched
authorqmuntal <quimmuntal@gmail.com>
Wed, 10 Sep 2025 06:23:42 +0000 (08:23 +0200)
committerGopher Robot <gobot@golang.org>
Wed, 10 Sep 2025 20:57:50 +0000 (13:57 -0700)
commitfad1dc608d178bf2527c249ded24ca22948269b8
tree49e0eafce879f59bf4885884afdc4c5907b7fdf6
parentb1f3e38e4153de19b1964068d79e7da6eac7b5d8
runtime: don't artificially limit TestReadMetricsSched

TestReadMetricsSched/running can take some time to enter in steady state
on busy systems. We currently only allow 1 second for that, we should
let it run unlimitedly until success or the test time's out.

Fixes #75049

Change-Id: I452059e1837caf12a2d2d9cae1f70a0ef2d4f518
Reviewed-on: https://go-review.googlesource.com/c/go/+/702295
Auto-Submit: Damien Neil <dneil@google.com>
Reviewed-by: Damien Neil <dneil@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
src/runtime/metrics_test.go