mirror of
https://gitee.com/IrisVega/frp.git
synced 2024-11-01 22:31:29 +08:00
e2e: update
This commit is contained in:
parent
ea08de668e
commit
9ba6a06470
@ -313,7 +313,7 @@ var _ = ginkgo.Describe("[Feature: Basic]", func() {
|
||||
`+extra, proxyName, proxyType, correctSK, localPortName)
|
||||
}
|
||||
getProxyVisitorConf := func(proxyName string, portName, visitorSK, extra string) string {
|
||||
out := fmt.Sprintf(`
|
||||
return fmt.Sprintf(`
|
||||
[%s]
|
||||
type = %s
|
||||
role = visitor
|
||||
@ -321,11 +321,6 @@ var _ = ginkgo.Describe("[Feature: Basic]", func() {
|
||||
sk = %s
|
||||
bind_port = {{ .%s }}
|
||||
`+extra, proxyName, proxyType, proxyName, visitorSK, portName)
|
||||
if proxyType == "xtcp" {
|
||||
// Set keep_tunnel_open to reduce testing time.
|
||||
out += "\nkeep_tunnel_open = true"
|
||||
}
|
||||
return out
|
||||
}
|
||||
|
||||
tests := []struct {
|
||||
|
Loading…
Reference in New Issue
Block a user