1
0
mirror of https://github.com/golang/go synced 2024-11-14 08:10:22 -07:00

runtime: increase attempt count for map iteration order test.

Some builders broke on this test; I'm guessing that was because
this test didn't try hard enough to find a different iteration order.

Update #6719

R=dave
CC=golang-codereviews
https://golang.org/cl/47300043
This commit is contained in:
David Symonds 2014-01-03 10:41:56 +11:00
parent d4c66a35ba
commit 8778760a7e

View File

@ -428,7 +428,7 @@ func TestMapIterOrder(t *testing.T) {
} }
first := ord() first := ord()
ok := false ok := false
for try := 0; try < 5; try++ { for try := 0; try < 100; try++ {
if !reflect.DeepEqual(first, ord()) { if !reflect.DeepEqual(first, ord()) {
ok = true ok = true
break break