Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions jenkinsapi_tests/systests/job_configs.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@
<disabled>false</disabled>
<blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
<blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
<triggers class="vector"/>
<triggers/>
<concurrentBuild>false</concurrentBuild>
<axes>
<hudson.matrix.TextAxis>
Expand All @@ -182,7 +182,7 @@
</axes>
<builders>
<hudson.tasks.Shell>
<command>ping -c 10 127.0.0.1</command>
<command>ping -c 3 127.0.0.1</command>
</hudson.tasks.Shell>
</builders>
<publishers/>
Expand Down
5 changes: 3 additions & 2 deletions jenkinsapi_tests/systests/test_jenkins_matrix.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,13 @@ def test_invoke_matrix_job(jenkins):
job_name = "create_%s" % random_string()
job = jenkins.create_job(job_name, MATRIX_JOB)
queueItem = job.invoke()
queueItem.block_until_complete()
time.sleep(3) # give jenkins time to catch up
queueItem.block_until_complete(delay=3)

build = job.get_last_build()

while build.is_running():
time.sleep(1)
time.sleep(3)

set_of_groups = set()
for run in build.get_matrix_runs():
Expand Down
Loading