Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions test/e2e/crds/v2/streamroute.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,13 @@ import (
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"

"github.com/apache/apisix-ingress-controller/test/e2e/framework"
"github.com/apache/apisix-ingress-controller/test/e2e/scaffold"
)

var _ = Describe("Test ApisixRoute With StreamRoute", Label("apisix.apache.org", "v2", "apisixroute"), func() {
s := scaffold.NewDefaultScaffold()

BeforeEach(func() {
if framework.ProviderType != framework.ProviderTypeAPISIX {
Skip("only support APISIX provider")
}
By("create GatewayProxy")
gatewayProxy := s.GetGatewayProxySpec()
err := s.CreateResourceFromString(gatewayProxy)
Expand Down
12 changes: 11 additions & 1 deletion test/e2e/framework/manifests/dp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ data:
stream_proxy:
tcp:
- 9100
udp:
- 9200
nginx_config:
worker_processes: 2
error_log_level: debug
Expand Down Expand Up @@ -215,8 +217,11 @@ spec:
name: control-api
protocol: TCP
- containerPort: 9100
name: stream-route
name: tcp
protocol: TCP
- containerPort: 9200
name: udp
protocol: UDP
readinessProbe:
failureThreshold: 10
initialDelaySeconds: 3
Expand Down Expand Up @@ -277,6 +282,11 @@ spec:
- name: tcp
port: 9100
protocol: TCP
targetPort: 9100
- name: udp
port: 9200
protocol: UDP
targetPort: 9200
selector:
app.kubernetes.io/instance: api7ee3
app.kubernetes.io/name: apisix
Expand Down
Loading