summaryrefslogtreecommitdiff
path: root/tests/fixtures/layouts/bad_pipelines1.yaml
diff options
context:
space:
mode:
authorClark Boylan <clark.boylan@gmail.com>2014-08-21 14:40:19 -0700
committerClark Boylan <clark.boylan@gmail.com>2014-08-21 14:40:19 -0700
commit2532dd65c853b9874f9647f6f085a1a3808cb88b (patch)
tree170e7dfb61f804adf5cf8319f2748697da5bca4c /tests/fixtures/layouts/bad_pipelines1.yaml
parent2de0c2a37a8d52a09d1375e374deeec52fea38bf (diff)
downloadzuul-2532dd65c853b9874f9647f6f085a1a3808cb88b.tar.gz
Handle random PYTHONHASHSEED values.
Voluptions does a depth first in order traversal of the data structures it is checking and fails fast. This means it will die when it hits the first error and return only that error. The test_layouts test is checking that different bad layout files fail in unique ways. This check breaks when the python hashseed is random resulting in different depth first traversals which can result in returning the same error twice if bad layout files have common errors. Fix this by trimming down the errors in each layout file to a single error this way the order of the errors hit never matters. Fix a string typo in test_layouts while we are in there. Change-Id: Ie7587ebac4d22063a6819c68011f7fb67a49fcc0
Diffstat (limited to 'tests/fixtures/layouts/bad_pipelines1.yaml')
-rw-r--r--tests/fixtures/layouts/bad_pipelines1.yaml2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/fixtures/layouts/bad_pipelines1.yaml b/tests/fixtures/layouts/bad_pipelines1.yaml
index 4207a2c2a..da909333c 100644
--- a/tests/fixtures/layouts/bad_pipelines1.yaml
+++ b/tests/fixtures/layouts/bad_pipelines1.yaml
@@ -1,4 +1,2 @@
pipelines:
-projects:
- - name: foo