diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2020-05-17 10:24:13 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2020-05-18 11:34:42 +0200 |
| commit | 9d7b583eae5f9d459920d207848863917fc58416 (patch) | |
| tree | 1937b6ba28dc8f669b769279e8ed2ec95f73d1d7 /prog/rotation_test.go | |
| parent | b6fa239fd5e9e120ac2b8e9f3d7f608125a7f986 (diff) | |
prog: reduce size of -short tests
Reduce size of tests that run for more than 1s in short mode.
Diffstat (limited to 'prog/rotation_test.go')
| -rw-r--r-- | prog/rotation_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/prog/rotation_test.go b/prog/rotation_test.go index 3727f19d2..828b310f1 100644 --- a/prog/rotation_test.go +++ b/prog/rotation_test.go @@ -50,7 +50,7 @@ func TestRotationCoverage(t *testing.T) { counters[call.Name] = 0 } rotator := MakeRotator(target, calls, rand.New(rs)) - for iter := 0; iter < 5e3; iter++ { + for iter := 0; iter < 1e3; iter++ { for call := range rotator.Select() { counters[call.Name]++ } |
