mirror of
https://github.com/golang/go.git
synced 2026-02-06 09:50:02 +00:00
runtime: increase repeat count for alloc test
To make sure a single spurious alloc doesn't flake the test. Fixes #75858 Change-Id: I055b37ad5668459bfa7ab1dac97025c997c68f1a Reviewed-on: https://go-review.googlesource.com/c/go/+/712201 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Cherry Mui <cherryyz@google.com> Reviewed-by: Keith Randall <khr@google.com>
This commit is contained in:
parent
b68cebd809
commit
27f9a6705c
1 changed files with 1 additions and 1 deletions
|
|
@ -60,7 +60,7 @@ func TestCmpIfaceConcreteAlloc(t *testing.T) {
|
|||
t.Skip("skipping on non-gc compiler")
|
||||
}
|
||||
|
||||
n := testing.AllocsPerRun(1, func() {
|
||||
n := testing.AllocsPerRun(100, func() {
|
||||
_ = e == ts
|
||||
_ = i1 == ts
|
||||
_ = e == 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue