Add a new node to the scheduler. From now on the node will be allocated chunks of tests to execute. Called by the ``DSession.worker_workerready`` hook when it successfully bootstraps a new node.
(self, node: WorkerController)
| 113 | return False |
| 114 | |
| 115 | def add_node(self, node: WorkerController) -> None: |
| 116 | """Add a new node to the scheduler. |
| 117 | |
| 118 | From now on the node will be allocated chunks of tests to |
| 119 | execute. |
| 120 | |
| 121 | Called by the ``DSession.worker_workerready`` hook when it |
| 122 | successfully bootstraps a new node. |
| 123 | """ |
| 124 | assert node not in self.node2pending |
| 125 | self.node2pending[node] = [] |
| 126 | |
| 127 | def add_node_collection( |
| 128 | self, node: WorkerController, collection: Sequence[str] |
no outgoing calls