Attention needed from Cherry Mui
Keith Randall has uploaded the change for review![Open in Gerrit]()
Keith Randall would like Cherry Mui to review this change.
Commit message
runtime: increase repeat count for alloc test
To make sure a single spurious alloc doesn't flake the test.
Fixes #75858
Change-Id: I055b37ad5668459bfa7ab1dac97025c997c68f1a
Change diff
diff --git a/src/runtime/iface_test.go b/src/runtime/iface_test.go
index 06f6eeb..5bc209c 100644
--- a/src/runtime/iface_test.go
+++ b/src/runtime/iface_test.go
@@ -60,7 +60,7 @@
t.Skip("skipping on non-gc compiler")
}
- n := testing.AllocsPerRun(1, func() {
+ n := testing.AllocsPerRun(100, func() {
_ = e == ts
_ = i1 == ts
_ = e == 1
Change information
Files:
- M src/runtime/iface_test.go
Change size: XS
Delta: 1 file changed, 1 insertion(+), 1 deletion(-)
Open in GerritRelated details
Attention is currently required from:
Gerrit-MessageType: newchange
Gerrit-Project: go
Gerrit-Branch: master
Gerrit-Change-Id: I055b37ad5668459bfa7ab1dac97025c997c68f1a
Gerrit-Change-Number: 712201
Gerrit-PatchSet: 1