functional-tester/agent: stop proxy on "fail archive"

Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
This commit is contained in:
Gyuho Lee
2018-03-31 17:47:23 -07:00
parent bf052ef491
commit 3f390622f7

View File

@ -292,9 +292,7 @@ func (srv *Server) handleKillEtcd() (*rpcpb.Response, error) {
} }
func (srv *Server) handleFailArchive() (*rpcpb.Response, error) { func (srv *Server) handleFailArchive() (*rpcpb.Response, error) {
// TODO: stop/restart proxy? srv.stopProxy()
// for now, just keep using the old ones
// if len(srv.advertisePortToProxy) > 0
// exit with stackstrace // exit with stackstrace
srv.logger.Info("killing etcd process", zap.String("signal", syscall.SIGQUIT.String())) srv.logger.Info("killing etcd process", zap.String("signal", syscall.SIGQUIT.String()))