Test: cluster/node.go and controller.go

This commit is contained in:
HFO4
2021-11-15 20:30:25 +08:00
parent 416f4c1dd2
commit 6c9967b120
7 changed files with 415 additions and 9 deletions

View File

@@ -161,6 +161,7 @@ func (c *slaveController) SubmitTask(id string, job interface{}, hash string, su
return nil
}
node.jobTracker[hash] = true
submitter(job)
return nil
}