diff --git a/command/agent/check_test.go b/command/agent/check_test.go index 312f922b62..e376096957 100644 --- a/command/agent/check_test.go +++ b/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) {