Skip to content

Commit 255426e

Browse files
committed
Fix rounding
1 parent 34736a0 commit 255426e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -519,7 +519,7 @@ pipeline {
519519
def tests = [:]
520520

521521
def executors = 10
522-
def tests_per_executor = Math.ceil((changedDistributionTests.size() / executors).doubleValue())
522+
def tests_per_executor = Math.ceil((changedDistributionTests.size() / executors).doubleValue()).toInteger()
523523
def idx = 0
524524
for (f in changedDistributionTests.collate(tests_per_executor)) {
525525
idx = idx + 1

0 commit comments

Comments
 (0)