1
0
Fork 0

if there is no testcase, we still 'splitted' the bucket (#9425)

This commit is contained in:
Wilfried Goesgens 2019-07-08 15:44:55 +02:00 committed by KVS85
parent a793a4749f
commit c2b645062b
1 changed files with 5 additions and 1 deletions

View File

@ -528,7 +528,11 @@ function filterTestcaseByOptions (testname, options, whichFilter) {
// //////////////////////////////////////////////////////////////////////////////
function splitBuckets (options, cases) {
if (!options.testBuckets || cases.length === 0) {
if (!options.testBuckets) {
return cases;
}
if (cases.length === 0) {
didSplitBuckets = true;
return cases;
}