From 6a19144a4ddbf9c6543049aee38f724415b4ab30 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Wed, 18 Dec 2019 16:21:14 +0100 Subject: pkg/ipc: don't use rate limiting for test os It's not needed for test os and slows down pkg/runtest tests. --- pkg/ipc/ipc.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg') 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 -- cgit mrf-deployment