mirror of
https://github.com/fatedier/frp.git
synced 2025-08-03 04:23:52 +00:00
add e2e tests for v1 config (#3608)
This commit is contained in:
@@ -19,10 +19,11 @@ var _ = ginkgo.Describe("[Feature: Example]", func() {
|
||||
|
||||
remotePort := f.AllocPort()
|
||||
clientConf += fmt.Sprintf(`
|
||||
[tcp]
|
||||
type = tcp
|
||||
local_port = {{ .%s }}
|
||||
remote_port = %d
|
||||
[[proxies]]
|
||||
name = "tcp"
|
||||
type = "tcp"
|
||||
localPort = {{ .%s }}
|
||||
remotePort = %d
|
||||
`, framework.TCPEchoServerPort, remotePort)
|
||||
|
||||
f.RunProcesses([]string{serverConf}, []string{clientConf})
|
||||
|
Reference in New Issue
Block a user