Skip to content

Commit

Permalink
statemanager: add container start/stop statemanger
Browse files Browse the repository at this point in the history
  • Loading branch information
adnxn committed Feb 18, 2019
1 parent 79bd517 commit a7b34b2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion agent/api/task/task_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2945,7 +2945,7 @@ func TestInitializeContainerOrderingWithError(t *testing.T) {
assert.Error(t, errLink2)
}

func TestPostUnmarshalPerContainerTimeouts(t *testing.T) {
func TestTaskFromACSPerContainerTimeouts(t *testing.T) {
modelTimeout := int64(10)
expectedTimeout := uint(modelTimeout)

Expand Down
5 changes: 4 additions & 1 deletion agent/statemanager/state_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,10 @@ const (
// a) Add 'Associations' field to 'api.task.task'
// b) Add 'GPUIDs' field to 'apicontainer.Container'
// c) Add 'NvidiaRuntime' field to 'api.task.task'
// 20) Add 'DependsOn' field to 'apicontainer.Container'
// 20)
// a) Add 'DependsOn' field to 'apicontainer.Container'
// b) Add 'StartTime' field to 'api.container.Container'
// c) Add 'StopTime' field to 'api.container.Container'
ECSDataVersion = 20

// ecsDataFile specifies the filename in the ECS_DATADIR
Expand Down

0 comments on commit a7b34b2

Please sign in to comment.