From: David Symonds Date: Thu, 2 Jan 2014 23:41:56 +0000 (+1100) Subject: runtime: increase attempt count for map iteration order test. X-Git-Tag: go1.3beta1~1069 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=8778760a7edb8bb1b756b6d3dbf20edb1308159e;p=gostls13.git 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 --- diff --git a/src/pkg/runtime/map_test.go b/src/pkg/runtime/map_test.go index f57d1f57c1..b8586483fd 100644 --- a/src/pkg/runtime/map_test.go +++ b/src/pkg/runtime/map_test.go @@ -428,7 +428,7 @@ func TestMapIterOrder(t *testing.T) { } first := ord() ok := false - for try := 0; try < 5; try++ { + for try := 0; try < 100; try++ { if !reflect.DeepEqual(first, ord()) { ok = true break