Merge "Re-enable test_file_jobs" into feature/zuulv3

changes/46/427946/9
Jenkins 6 years ago committed by Gerrit Code Review
commit 1178f51635

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

@ -1996,11 +1996,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