From 3f390622f7e2ff71bb36c52015f5be40e0f08228 Mon Sep 17 00:00:00 2001 From: Gyuho Lee Date: Sat, 31 Mar 2018 17:47:23 -0700 Subject: [PATCH] functional-tester/agent: stop proxy on "fail archive" Signed-off-by: Gyuho Lee --- tools/functional-tester/agent/handler.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tools/functional-tester/agent/handler.go b/tools/functional-tester/agent/handler.go index 3617136bf..6bbcfe514 100644 --- a/tools/functional-tester/agent/handler.go +++ b/tools/functional-tester/agent/handler.go @@ -292,9 +292,7 @@ func (srv *Server) handleKillEtcd() (*rpcpb.Response, error) { } func (srv *Server) handleFailArchive() (*rpcpb.Response, error) { - // TODO: stop/restart proxy? - // for now, just keep using the old ones - // if len(srv.advertisePortToProxy) > 0 + srv.stopProxy() // exit with stackstrace srv.logger.Info("killing etcd process", zap.String("signal", syscall.SIGQUIT.String()))