update e2e tests (#1973)

This commit is contained in:
fatedier
2020-09-07 15:45:44 +08:00
committed by GitHub
parent c9fe23eb10
commit 48fa618c34
5 changed files with 38 additions and 435 deletions

View File

@@ -293,6 +293,8 @@ func (svr *Service) ReloadConf(pxyCfgs map[string]config.ProxyConf, visitorCfgs
func (svr *Service) Close() {
atomic.StoreUint32(&svr.exit, 1)
svr.ctl.Close()
if svr.ctl != nil {
svr.ctl.Close()
}
svr.cancel()
}