Browse Source

Fixed the Fake Docker client to simulate Exec start failures

pull/1343/head
Diptanu Choudhury 9 years ago
parent
commit
9efbd1affa
  1. 2
      command/agent/check_test.go

2
command/agent/check_test.go

@ -459,7 +459,7 @@ func (d *fakeDockerClientWithStartExecFailure) CreateExec(opts docker.CreateExec
}
func (d *fakeDockerClientWithStartExecFailure) StartExec(id string, opts docker.StartExecOptions) error {
return nil
return errors.New("Couldn't Start Exec")
}
func (d *fakeDockerClientWithStartExecFailure) InspectExec(id string) (*docker.ExecInspect, error) {

Loading…
Cancel
Save