diff options
Diffstat (limited to 'pkg/mgrconfig')
| -rw-r--r-- | pkg/mgrconfig/load.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/mgrconfig/load.go b/pkg/mgrconfig/load.go index db44caa89..2bccdc7df 100644 --- a/pkg/mgrconfig/load.go +++ b/pkg/mgrconfig/load.go @@ -207,7 +207,7 @@ func (cfg *Config) initTimeouts() { // Assuming qemu emulation. // Quick tests of mmap syscall on arm64 show ~9x slowdown. slowdown = 10 - case cfg.Type == "gvisor" && cfg.Cover && strings.Contains(cfg.Name, "-race"): + case cfg.Type == targets.GVisor && cfg.Cover && strings.Contains(cfg.Name, "-race"): // Go coverage+race has insane slowdown of ~350x. We can't afford such large value, // but a smaller value should be enough to finish at least some syscalls. // Note: the name check is a hack. |
