Browse Source

e2e: update

fatedier 1 year ago
parent
commit
9ba6a06470
1 changed files with 1 additions and 6 deletions
  1. 1 6
      test/e2e/basic/basic.go

+ 1 - 6
test/e2e/basic/basic.go

@@ -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 {