You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by mc...@apache.org on 2020/08/05 16:20:32 UTC
[cassandra-builds] branch master updated: ninja-fix: dtest-large
jobs need smaller number of splits (empty splits fail bc no test reports)
This is an automated email from the ASF dual-hosted git repository.
mck pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cassandra-builds.git
The following commit(s) were added to refs/heads/master by this push:
new cdfa72a ninja-fix: dtest-large jobs need smaller number of splits (empty splits fail bc no test reports)
cdfa72a is described below
commit cdfa72a892d5048f3590fada007ac5236ea81e8e
Author: mck <mc...@apache.org>
AuthorDate: Wed Aug 5 18:19:51 2020 +0200
ninja-fix: dtest-large jobs need smaller number of splits (empty splits fail bc no test reports)
---
jenkins-dsl/cassandra_job_dsl_seed.groovy | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/jenkins-dsl/cassandra_job_dsl_seed.groovy b/jenkins-dsl/cassandra_job_dsl_seed.groovy
index 4047963..fdc53fc 100644
--- a/jenkins-dsl/cassandra_job_dsl_seed.groovy
+++ b/jenkins-dsl/cassandra_job_dsl_seed.groovy
@@ -70,9 +70,13 @@ if(binding.hasVariable("MAX_JOB_HOURS")) {
// how many splits are dtest jobs matrixed into
def dtestSplits = 64
+def dtestLargeSplits = 8
if(binding.hasVariable("DTEST_SPLITS")) {
dtestSplits = "${DTEST_SPLITS}"
}
+if(binding.hasVariable("DTEST_LARGE_SPLITS")) {
+ dtestLargeSplits = "${DTEST_LARGE_SPLITS}"
+}
////////////////////////////////////////////////////////////
//
@@ -438,7 +442,11 @@ cassandraBranches.each {
using('Cassandra-template-dtest-matrix')
axes {
List<String> values = new ArrayList<String>()
- (1..dtestSplits).each { values << it.toString() }
+ if (targetName == 'dtest-large') {
+ (1..dtestLargeSplits).each { values << it.toString() }
+ } else {
+ (1..dtestSplits).each { values << it.toString() }
+ }
text('split', values)
label('label', slaveLabel)
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org