add e2e tests (#2334)

This commit is contained in:
fatedier authored and GitHub committed 2021-03-31 16:57:39 +08:00
1 parent 9a849a29e9
commit fbaa5f866e
20 files changed
+541 -166

No files matched your search

+1 -1
View File
@@ -60,7 +60,7 @@ func (pxy *UDPProxy) Run() (remoteAddr string, err error) {
xl := pxy.xl
pxy.realPort, err = pxy.rc.UDPPortManager.Acquire(pxy.name, pxy.cfg.RemotePort)
if err != nil {
return
return "", fmt.Errorf("acquire port %d error: %v", pxy.cfg.RemotePort, err)
}
defer func() {
if err != nil {