diff --git a/pkg/bisect/bisect_test.go b/pkg/bisect/bisect_test.go index cb5e51c5bb32..2a9d05b8c6e9 100644 --- a/pkg/bisect/bisect_test.go +++ b/pkg/bisect/bisect_test.go @@ -112,7 +112,7 @@ func (env *testEnv) Test(numVMs int, reproSyz, reproOpts, reproC []byte) ([]inst } return ret, nil } - ret = make([]instance.EnvTestResult, numVMs-1) + ret = make([]instance.EnvTestResult, 0, numVMs-1) if env.test.injectSyzFailure { ret = append(ret, instance.EnvTestResult{ Error: &instance.TestError{