Commit b0ea651c authored by Michael Stapelberg's avatar Michael Stapelberg

reduce timeout from 10m default to 3m

parent 563b3682
......@@ -381,9 +381,9 @@ func build(p pkg) (string, error) {
} else {
// -vet=off because many packages across debian have vet issues
if *go19 {
t = exec.Command("go", append([]string{"test"}, p.Targets...)...)
t = exec.Command("go", append([]string{"test", "-timeout=3m"}, p.Targets...)...)
} else {
t = exec.Command("go", append([]string{"test", "-vet=off"}, p.Targets...)...)
t = exec.Command("go", append([]string{"test", "-timeout=3m", "-vet=off"}, p.Targets...)...)
}
}
t.Env = goEnv()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment