mirror of
https://github.com/golang/go
synced 2024-11-13 18:10:24 -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:
parent
d4c66a35ba
commit
8778760a7e
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user