fix local run startup and stale dispatch
This commit is contained in:
@@ -1439,11 +1439,12 @@ func createPluginAndRunEndpoint(t *testing.T, svc *CoreService) (domain.GamePlug
|
||||
}
|
||||
|
||||
endpoint, err := svc.CreateRunEndpoint(domain.RunEndpoint{
|
||||
ID: "run-local",
|
||||
DisplayName: "Local Run",
|
||||
Version: "0.1.0",
|
||||
Capabilities: []string{"process.install", "process.start", "process.stop", "logs.read", "config.write", "files.read", "files.write"},
|
||||
Capacity: domain.RunCapacity{MaxJobs: 4},
|
||||
ID: "run-local",
|
||||
DisplayName: "Local Run",
|
||||
Version: "0.1.0",
|
||||
Capabilities: []string{"process.install", "process.start", "process.stop", "logs.read", "config.write", "files.read", "files.write"},
|
||||
Capacity: domain.RunCapacity{MaxJobs: 4},
|
||||
LastHeartbeatAt: svc.now(),
|
||||
})
|
||||
if err != nil {
|
||||
t.Fatalf("create run endpoint fixture: %v", err)
|
||||
|
||||
Reference in New Issue
Block a user