diff --git a/tools/functional-tester/etcd-agent/agent.go b/tools/functional-tester/etcd-agent/agent.go index 418fd7ab4..688efa262 100644 --- a/tools/functional-tester/etcd-agent/agent.go +++ b/tools/functional-tester/etcd-agent/agent.go @@ -73,7 +73,7 @@ func (a *Agent) restart() error { // terminate stops the exiting etcd process the agent started // and removes the data dir. func (a *Agent) terminate() error { - a.cmd.Process.Kill() + a.stop() args := a.cmd.Args datadir := path.Join(a.cmd.Path, "*.etcd")