diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2019-12-18 16:21:14 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2019-12-18 16:35:53 +0100 |
| commit | 6a19144a4ddbf9c6543049aee38f724415b4ab30 (patch) | |
| tree | 9f30c17342c127f708e16cf911fca8fce4aa1d58 /pkg | |
| parent | 73c38454383e0daeb72d08b990e49bf4bd42ba87 (diff) | |
pkg/ipc: don't use rate limiting for test os
It's not needed for test os and slows down pkg/runtest tests.
Diffstat (limited to 'pkg')
| -rw-r--r-- | pkg/ipc/ipc.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/ipc/ipc.go b/pkg/ipc/ipc.go index 8b3a925e7..a238d2ba4 100644 --- a/pkg/ipc/ipc.go +++ b/pkg/ipc/ipc.go @@ -265,7 +265,7 @@ func (env *Env) Exec(opts *ExecOpts, p *prog.Prog) (output []byte, info *ProgInf atomic.AddUint64(&env.StatExecs, 1) if env.cmd == nil { - if targets.Get(p.Target.OS, p.Target.Arch).HostFuzzer { + if p.Target.OS != "test" && targets.Get(p.Target.OS, p.Target.Arch).HostFuzzer { // The executor is actually ssh, // starting them too frequently leads to timeouts. <-rateLimit.C |
