diff options
| author | Russ Cox <rsc@golang.org> | 2017-10-27 13:30:09 -0400 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2017-10-31 13:20:27 +0000 |
| commit | 94471f6324d25e2562c9125aeeeb2af6f2a51fd4 (patch) | |
| tree | affa17d1b44629b613ee1bf58f587bda13dd3e72 /src/runtime/map_test.go | |
| parent | 6c8418f560f076da570b70ac645df7cdb01db188 (diff) | |
| download | go-94471f6324d25e2562c9125aeeeb2af6f2a51fd4.tar.xz | |
runtime: shorten tests in all.bash
This cuts 23 seconds from all.bash on my MacBook Pro.
Change-Id: Ibc4d7c01660b9e9ebd088dd55ba993f0d7ec6aa3
Reviewed-on: https://go-review.googlesource.com/73991
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/runtime/map_test.go')
| -rw-r--r-- | src/runtime/map_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/map_test.go b/src/runtime/map_test.go index d6054c0527..0529cb8e86 100644 --- a/src/runtime/map_test.go +++ b/src/runtime/map_test.go @@ -244,7 +244,7 @@ func testConcurrentReadsAfterGrowth(t *testing.T, useReflect bool) { numGrowStep := 250 numReader := 16 if testing.Short() { - numLoop, numGrowStep = 2, 500 + numLoop, numGrowStep = 2, 100 } for i := 0; i < numLoop; i++ { m := make(map[int]int, 0) |
