Files
zuul/tests/fixtures/layout-no-timer.yaml
T
Clark Boylan 3ee090a243 Fix races in timer trigger tests.
Timer trigger tests are vulnerable to a race where the timer trigger can
enqueue new builds while we are checking the number of builds queued.
This can happen during intermediate build queue checks or in
assertFinalState.

To fix this race swap in a layout that does not use the timer trigger
which will prevent further build queueing once the timer triggered
builds have done their thing.

Change-Id: Ic9b64e34c6a39275b57b1299b47d9b1d0e0e5c79
2014-04-23 12:43:17 -07:00

15 lines
353 B
YAML

pipelines:
- name: periodic
manager: IndependentPipelineManager
# Trigger is required, set it to one that is a noop
# during tests that check the timer trigger.
trigger:
gerrit:
- event: patchset-created
projects:
- name: org/project
periodic:
- project-bitrot-stable-old
- project-bitrot-stable-older