zuul/tests/fixtures
James E. Blair 5aed111523 Fix test_rerun_on_abort
Change I6d7d8d0f7e49a11e926667fbe772535ebdd35e89 erroneously altered
test_rerun_on_abort to match the observed behavior.

Change I6e64ef03cbb10ce858b22d6a4590f58ace0a5332 restored the values
in the test but then erroneously changed the accounting system to
match the observed behavior.

The actual problem is that this test also exercises the 'attempts' job
attribute, and does so by specifying it in a custom test configuration.
The test was failing because that attribute, which instructs zuul to
attempt to run a job for a non-default number of retries, was not being
read.

It was not being read because the test was still using the old configuration
loading scheme.  It updated the "layout_file" which isn't a thing anymore
and asked the scheduler to reload.  The scheduler *did* reload, but it
simply reloaded the same configuration.  The solution to this is to either
create a new configuration, or, in this case, since the additional
configuration needed is compatible with the configuration used by the tests
siblings, simply add it to the active config file for the test.

Once the test is loading the correct configuration, one can observe that
the 'attempts' attribute was not added to the validator.  That is corrected
in this change as well.

With all of this complete, the test passes in its original form and no
modifications to the job retry accounting system.

Change-Id: Icf6d697cbae0166bc516faf5b7e60cac05885ab0
2016-12-15 09:25:39 -08:00
..
config Fix test_rerun_on_abort 2016-12-15 09:25:39 -08:00
gerrit Support pagination in simplequery for Gerrit >=2.9 2015-08-31 11:42:15 +02:00
layouts Add support for 'connection' concept 2015-12-06 14:48:32 +11:00
clonemap.yaml cloner to easily clone dependent repositories 2014-07-29 09:03:59 +00:00
custom_functions.py Custom parameter function takes QueueItem 2013-07-11 21:53:17 +00:00
custom_functions_live_reconfiguration_functions.py Test that custom functions are live-reloaded 2013-08-13 10:03:41 -07:00
layout-bad-queue.yaml Add queue-name parameter to job 2014-03-20 10:26:07 -07:00
layout-cloner.yaml Cloner: add upgrade test 2014-08-27 09:16:25 -07:00
layout-connections-multiple-gerrits.yaml Add in extra connections tests 2015-12-06 14:48:32 +11:00
layout-connections-multiple-voters.yaml Add in extra connections tests 2015-12-06 14:48:32 +11:00
layout-delayed-repo-init.yaml Separate reporters from triggers 2013-08-29 13:17:12 +10:00
layout-disable-at.yaml Add support for disabling bad pipelines 2015-04-09 20:16:15 +10:00
layout-footer-message.yaml Add configurable footer-message reports 2014-03-05 12:12:32 +11:00
layout-idle.yaml Fix races in timer trigger tests. 2014-04-23 12:43:17 -07:00
layout-ignore-dependencies.yaml Add ignore-dependencies option 2015-02-09 15:20:34 -08:00
layout-live-reconfiguration-add-job.yaml Handle adding a job to a failing change during reconfig 2015-07-17 18:06:50 -07:00
layout-live-reconfiguration-del-project.yaml Dependencies from undefined projects 2015-09-24 15:46:37 +00:00
layout-live-reconfiguration-failed-job.yaml Fix bug with removing a failed job 2015-07-30 18:07:33 -07:00
layout-live-reconfiguration-functions.yaml Separate reporters from triggers 2013-08-29 13:17:12 +10:00
layout-live-reconfiguration-shared-queue.yaml Fix bug with shared jobs in reconfiguration 2015-08-05 15:18:54 -07:00
layout-merge-failure.yaml Allow merge failures to have unique reporters. 2014-03-20 12:11:50 +11:00
layout-merge-queues.yaml Fix merging transitively-connected change queues. 2013-12-03 17:15:17 -08:00
layout-mutex.yaml Add job mutex support 2016-02-04 16:51:58 -08:00
layout-no-jobs.yaml Add internal noop job 2014-03-18 10:56:47 -07:00
layout-no-timer.yaml Fix timer jobs getting aborted from abandoning a change 2015-04-03 15:01:38 -07:00
layout-rate-limit.yaml Add rate limiting to dependent pipeline queues 2014-01-22 11:45:34 -08:00
layout-requirement-vote.yaml Revert "Add support for negative requirements" 2015-07-30 11:56:47 -07:00
layout-smtp.yaml Add support for emailing results via SMTP 2013-09-02 09:55:49 +10:00
layout-success-pattern.yaml Add extra test for bad url patterns 2016-04-23 10:40:12 +10:00
layout-swift.yaml Send swift upload instructions to workers 2014-03-25 10:46:06 +11:00
layout-tags.yaml Add job tags 2016-03-09 10:07:28 -08:00
layout-timer-smtp.yaml Fix races in timer trigger tests. 2014-04-23 12:43:17 -07:00
layout-timer.yaml Fix races in timer trigger tests. 2014-04-23 12:43:17 -07:00
layout-zuultrigger-enqueued.yaml Add a Zuul trigger 2014-08-15 10:38:16 -07:00
layout-zuultrigger-merged.yaml Add ignore-dependencies option 2015-02-09 15:20:34 -08:00
layout.yaml Re-enable test_layered_templates test 2016-11-09 12:20:03 -05:00
main.yaml Add tenants 2015-12-08 16:38:09 -08:00
tags_custom_functions.py Add job tags 2016-03-09 10:07:28 -08:00
zuul-connections-multiple-gerrits.conf Add in extra connections tests 2015-12-06 14:48:32 +11:00
zuul-connections-same-gerrit.conf Re-enable test_connection tests 2016-08-12 08:43:06 -07:00
zuul.conf Add tenants 2015-12-08 16:38:09 -08:00