summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authortanhengyeow <E0032242@u.nus.edu>2018-08-09 18:04:16 +0800
committertanhengyeow <E0032242@u.nus.edu>2018-08-16 22:20:07 +0800
commit2d80dd00d49397563f111123b7dea5823d76877d (patch)
treed52ba6b030f6685839e8d04a4fdbbc534b76d48b /tests
parentb23394b47bac956765e682acc93d2c4debb8b0e7 (diff)
downloadpython-jenkins-job-builder-2d80dd00d49397563f111123b7dea5823d76877d.tar.gz
python-jenkins-job-builder-2d80dd00d49397563f111123b7dea5823d76877d.tar.xz
python-jenkins-job-builder-2d80dd00d49397563f111123b7dea5823d76877d.zip
branch-api: Support skip-rate-limit param
Change-Id: I4d86b24519381cc76e669f89d8e313f9c30ad999 Signed-off-by: Tan Heng Yeow <E0032242@u.nus.edu>
Diffstat (limited to 'tests')
-rw-r--r--tests/properties/fixtures/branch-api-full.xml1
-rw-r--r--tests/properties/fixtures/branch-api-full.yaml1
-rw-r--r--tests/properties/fixtures/branch-api-minimal.xml1
3 files changed, 3 insertions, 0 deletions
diff --git a/tests/properties/fixtures/branch-api-full.xml b/tests/properties/fixtures/branch-api-full.xml
index e919921e..90832bac 100644
--- a/tests/properties/fixtures/branch-api-full.xml
+++ b/tests/properties/fixtures/branch-api-full.xml
@@ -4,6 +4,7 @@
<jenkins.branch.RateLimitBranchProperty_-JobPropertyImpl plugin="branch-api">
<durationName>Day</durationName>
<count>5</count>
+ <userBoost>true</userBoost>
</jenkins.branch.RateLimitBranchProperty_-JobPropertyImpl>
</properties>
</project>
diff --git a/tests/properties/fixtures/branch-api-full.yaml b/tests/properties/fixtures/branch-api-full.yaml
index 0b73a0e7..6adc44c7 100644
--- a/tests/properties/fixtures/branch-api-full.yaml
+++ b/tests/properties/fixtures/branch-api-full.yaml
@@ -2,3 +2,4 @@ properties:
- branch-api:
time-period: Day
number-of-builds: 5
+ skip-rate-limit: true
diff --git a/tests/properties/fixtures/branch-api-minimal.xml b/tests/properties/fixtures/branch-api-minimal.xml
index 23e29ded..f483478f 100644
--- a/tests/properties/fixtures/branch-api-minimal.xml
+++ b/tests/properties/fixtures/branch-api-minimal.xml
@@ -4,6 +4,7 @@
<jenkins.branch.RateLimitBranchProperty_-JobPropertyImpl plugin="branch-api">
<durationName>Hour</durationName>
<count>1</count>
+ <userBoost>false</userBoost>
</jenkins.branch.RateLimitBranchProperty_-JobPropertyImpl>
</properties>
</project>