flaky/unstable t/05-scheduler-full.t, Failed test 'Allocated maximum number of jobs that could have been allocated'
In around 1/400 test runs t/05-scheduler-full fails with
t/05-scheduler-full.t .. 3/? # Failed test 'Allocated maximum number of jobs that could have been allocated' # at t/05-scheduler-full.t line 241. # got: '9' # expected: '10' # Looks like you failed 1 test of 1.
Steps to reproduce¶
t/05-scheduler-full.t should be stable, e.g. in 1000/1000 runs.
- Reproduce the issue in your local environment, e.g. with
time env runs=400 count_fail_ratio prove -l t/05-scheduler-full.tusing http://github.com/okurz/scripts/bin/count_fail_ratio
- Investigate how the check in t/05-scheduler-full.t line 241 can fail, apply fixes and prove stability, e.g. with
time env runs=1000 count_fail_ratio prove -l t/05-scheduler-full.t