Skip to content

Commit

Permalink
e2e: update
Browse files Browse the repository at this point in the history
  • Loading branch information
fatedier committed Jun 4, 2023
1 parent ea08de6 commit 9ba6a06
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions test/e2e/basic/basic.go
Original file line number Diff line number Diff line change
Expand Up @@ -313,19 +313,14 @@ 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
server_name = %s
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 {
Expand Down

0 comments on commit 9ba6a06

Please sign in to comment.