functional-tester/agent: stop proxy on "fail archive"
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
This commit is contained in:
@ -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()))
|
||||||
|
Reference in New Issue
Block a user