Skip to content

Commit eccdece

Browse files
committed
fix test
1 parent 91e0d44 commit eccdece

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

.github/workflows/apisix-e2e-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,6 @@ jobs:
6969
- name: Run E2E test suite
7070
shell: bash
7171
env:
72-
TEST_DIR: "test/e2e/apisix/"
72+
TEST_DIR: "./test/e2e/apisix/"
7373
run: |
7474
make e2e-test

test/e2e/crds/consumer.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -239,8 +239,6 @@ spec:
239239
It("Create/Update/Delete", func() {
240240
s.ResourceApplied("Consumer", "consumer-sample", defaultCredential, 1)
241241

242-
time.Sleep(15 * time.Minute)
243-
244242
s.NewAPISIXClient().
245243
GET("/get").
246244
WithHeader("apikey", "sample-key").

test/e2e/gatewayapi/gatewayproxy.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ spec:
283283
By("Create HTTPRoute for Gateway with GatewayProxy")
284284
resourceApplied("HTTPRoute", "test-route", fmt.Sprintf(httpRouteForTest, "apisix"), 1)
285285

286-
time.Sleep(5 * time.Minute)
286+
time.Sleep(5 * time.Second)
287287
By("Check PluginMetadata working")
288288
s.NewAPISIXClient().
289289
GET("/not-found").

0 commit comments

Comments
 (0)