]> Cypherpunks repositories - gostls13.git/commit
runtime/trace: fix flaky test for SetMinAge
authorCarlos Amedee <carlos@golang.org>
Thu, 22 May 2025 17:33:28 +0000 (13:33 -0400)
committerCarlos Amedee <carlos@golang.org>
Fri, 23 May 2025 14:45:39 +0000 (07:45 -0700)
commitdb3e02994c98f1d6dc00f7df807579c4619885c7
tree03b43662c8b5e199608d2660099549c3e14781b3
parentdb55b83ce437577c0738f56808853b078d656a0b
runtime/trace: fix flaky test for SetMinAge

This change fixes the flaky test which expects setting SetMinAge to a
small ammount. It expects two sync events but should realistically
expect up to 3.

Change-Id: Ibd02fe55ebca99eb880025eb968fcebae9cb09c9
Reviewed-on: https://go-review.googlesource.com/c/go/+/675597
Reviewed-by: Michael Knyszek <mknyszek@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
src/runtime/trace/flightrecorder_test.go