Supply label name to Nodes
We are mistakenly supplying the image name for the node type. This should be the label name. Change-Id: I35982d0d03ae00af77a515839b53542c5d830c89
This commit is contained in:
parent
17e4fa9748
commit
349b23bc32
@ -53,7 +53,7 @@ class TestNodepoolIntegration(BaseTestCase):
|
||||
# Test a simple node request
|
||||
|
||||
nodeset = model.NodeSet()
|
||||
nodeset.addNode(model.Node('controller', 'fake-nodepool'))
|
||||
nodeset.addNode(model.Node('controller', 'fake-label'))
|
||||
job = model.Job('testjob')
|
||||
job.nodeset = nodeset
|
||||
request = self.nodepool.requestNodes(None, job)
|
||||
|
Loading…
Reference in New Issue
Block a user