Re-enable test_file_jobs

Story: 200773
Task: 3464

Change-Id: Ie07de08088752d5982df2d600309331fbf799a43
changes/15/429115/1
Adam Gandelman 6 years ago
parent 21c200e601
commit 5661bda139

@ -123,6 +123,7 @@
jobs:
- project-test1
- project-test2
- project-testfile
post:
jobs:
- project-post

@ -2114,11 +2114,10 @@ class TestScheduler(ZuulTestCase):
self.assertIn('Build succeeded', A.messages[0])
self.assertIn('Build succeeded', B.messages[0])
@skip("Disabled for early v3 development")
def test_file_jobs(self):
"Test that file jobs run only when appropriate"
A = self.fake_gerrit.addFakeChange('org/project', 'master', 'A')
A.addPatchset(['pip-requires'])
A.addPatchset({'pip-requires': 'foo'})
B = self.fake_gerrit.addFakeChange('org/project', 'master', 'B')
A.addApproval('code-review', 2)
B.addApproval('code-review', 2)

Loading…
Cancel
Save