Re-enable test_file_jobs

Story: 200773
Task: 3464

Change-Id: Ie07de08088752d5982df2d600309331fbf799a43
This commit is contained in:
Adam Gandelman 2017-02-03 15:58:03 -08:00
parent 21c200e601
commit 5661bda139
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -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)