Skip to content

Commit 4c3c27b

Browse files
committed
focus
1 parent 332a301 commit 4c3c27b

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

test/e2e/gatewayapi/gatewayproxy.go

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111
"github.com/api7/api7-ingress-controller/test/e2e/scaffold"
1212
)
1313

14-
var _ = Describe("Test GatewayProxy", func() {
14+
var _ = FDescribe("Test GatewayProxy", func() {
1515
s := scaffold.NewDefaultScaffold()
1616

1717
var defaultGatewayClass = `
@@ -121,7 +121,7 @@ spec:
121121
port: 80
122122
`
123123

124-
var ResourceApplied = func(resourceType, resourceName, resourceRaw string, observedGeneration int) {
124+
var resourceApplied = func(resourceType, resourceName, resourceRaw string, observedGeneration int) {
125125
Expect(s.CreateResourceFromString(resourceRaw)).
126126
NotTo(HaveOccurred(), fmt.Sprintf("creating %s", resourceType))
127127

@@ -183,7 +183,7 @@ spec:
183183
Context("Test Gateway with enabled GatewayProxy plugin", func() {
184184
It("Should apply plugin configuration when enabled", func() {
185185
By("Create HTTPRoute for Gateway with GatewayProxy")
186-
ResourceApplied("HTTPRoute", "test-route", fmt.Sprintf(httpRouteForTest, "api7"), 1)
186+
resourceApplied("HTTPRoute", "test-route", fmt.Sprintf(httpRouteForTest, "api7"), 1)
187187

188188
By("Check if the plugin is applied")
189189
resp := s.NewAPISIXClient().
@@ -200,7 +200,7 @@ spec:
200200
time.Sleep(5 * time.Second)
201201

202202
By("Create HTTPRoute for Gateway with GatewayProxy")
203-
ResourceApplied("HTTPRoute", "test-route", fmt.Sprintf(httpRouteForTest, "api7"), 1)
203+
resourceApplied("HTTPRoute", "test-route", fmt.Sprintf(httpRouteForTest, "api7"), 1)
204204

205205
By("Check if the plugin is not applied")
206206
resp = s.NewAPISIXClient().
@@ -214,7 +214,7 @@ spec:
214214

215215
It("Should work normally without GatewayProxy", func() {
216216
By("Create HTTPRoute for Gateway with GatewayProxy")
217-
ResourceApplied("HTTPRoute", "test-route", fmt.Sprintf(httpRouteForTest, "api7"), 1)
217+
resourceApplied("HTTPRoute", "test-route", fmt.Sprintf(httpRouteForTest, "api7"), 1)
218218

219219
By("Check if the plugin is applied")
220220
resp := s.NewAPISIXClient().
@@ -231,7 +231,7 @@ spec:
231231
time.Sleep(5 * time.Second)
232232

233233
By("Create HTTPRoute for Gateway without GatewayProxy")
234-
ResourceApplied("HTTPRoute", "test-route", fmt.Sprintf(httpRouteForTest, "api7"), 1)
234+
resourceApplied("HTTPRoute", "test-route", fmt.Sprintf(httpRouteForTest, "api7"), 1)
235235

236236
By("Check if the route works without plugin")
237237
resp = s.NewAPISIXClient().
@@ -256,7 +256,7 @@ spec:
256256
time.Sleep(5 * time.Second)
257257

258258
By("Create HTTPRoute for Gateway with GatewayProxy")
259-
ResourceApplied("HTTPRoute", "test-route", fmt.Sprintf(httpRouteForTest, "api7"), 1)
259+
resourceApplied("HTTPRoute", "test-route", fmt.Sprintf(httpRouteForTest, "api7"), 1)
260260

261261
By("Check PluginMetadata working")
262262
s.NewAPISIXClient().

0 commit comments

Comments
 (0)