diff options
| author | Jouni Hogander <jouni.hogander@unikie.com> | 2020-11-04 13:03:59 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2020-11-17 10:16:22 +0100 |
| commit | bd2a760b69f2df56a20577ba8c0665105766f3bd (patch) | |
| tree | 27faac91fd8d3b0b9a69e3a4569409a91aeda1a2 /syz-ci | |
| parent | 1bf9a662c66aa432ff2fe3bf2562578cef626c09 (diff) | |
pkg/bisect: add flaky flag
On first test (original commit) bump up number of tests always.
Also bump up number of tests if observing more good results than bad.
Diffstat (limited to 'syz-ci')
| -rw-r--r-- | syz-ci/jobs.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/syz-ci/jobs.go b/syz-ci/jobs.go index 313afb25b..849e1b3f1 100644 --- a/syz-ci/jobs.go +++ b/syz-ci/jobs.go @@ -362,7 +362,7 @@ func (jp *JobProcessor) bisect(job *Job, mgrcfg *mgrconfig.Config) error { // Hack: if the manager has only, say, 5 VMs, but bisect wants 10, try to override number of VMs to 10. // OverrideVMCount is opportunistic and should do it only if it's safe. - if err := instance.OverrideVMCount(mgrcfg, bisect.NumTests); err != nil { + if err := instance.OverrideVMCount(mgrcfg, bisect.MaxNumTests); err != nil { return err } |
