Merge "Coalesce zuul and nodepool images in integration" into feature/zuulv3

This commit is contained in:
Jenkins 2017-02-06 14:42:16 +00:00 committed by Gerrit Code Review
commit 2e9db8aaad

View File

@ -53,8 +53,7 @@ class TestNodepoolIntegration(BaseTestCase):
# Test a simple node request
nodeset = model.NodeSet()
nodeset.addNode(model.Node('controller', 'fake-label'))
nodeset.addNode(model.Node('compute', 'fake-label'))
nodeset.addNode(model.Node('controller', 'fake-nodepool'))
job = model.Job('testjob')
job.nodeset = nodeset
request = self.nodepool.requestNodes(None, job)