Skip to content

Commit 9f97499

Browse files
committed
f
1 parent 32f903b commit 9f97499

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

test/e2e/crds/v2/route.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1370,6 +1370,7 @@ spec:
13701370
containers:
13711371
- name: websocket-server
13721372
image: jmalloc/echo-server:latest
1373+
imagePullPolicy: IfNotPresent
13731374
ports:
13741375
- containerPort: 8080
13751376
---

test/e2e/crds/v2/tls.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ spec:
235235
assert.NotNil(GinkgoT(), tls[0].Client, "client configuration should not be nil")
236236
assert.NotEmpty(GinkgoT(), tls[0].Client.CA, "client CA should not be empty")
237237
assert.Equal(GinkgoT(), normalizePEM(caCert), normalizePEM(tls[0].Client.CA), "client CA should be test-ca-secret")
238-
assert.Equal(GinkgoT(), int64(1), *tls[0].Client.Depth, "client depth should be 1")
238+
assert.Equal(GinkgoT(), int64(10), *tls[0].Client.Depth, "client depth should be 1")
239239
})
240240
It("ApisixTls with skip_mtls_uri_regex test", func() {
241241
// TODO: Add support for skip_mtls_uri_regex in API7EE control plane
@@ -328,8 +328,7 @@ spec:
328328
assert.NotNil(GinkgoT(), tls[0].Client, "client configuration should not be nil")
329329
assert.NotEmpty(GinkgoT(), tls[0].Client.CA, "client CA should not be empty")
330330
assert.Equal(GinkgoT(), caCert, tls[0].Client.CA, "client CA should match")
331-
// dashboard allows depth to be 1.
332-
assert.Equal(GinkgoT(), int64(1), *tls[0].Client.Depth, "client depth should be 1")
331+
assert.Equal(GinkgoT(), int64(10), *tls[0].Client.Depth, "client depth should be 1")
333332
assert.Contains(GinkgoT(), tls[0].Client.SkipMtlsURIRegex, skipMtlsUriRegex, "skip_mtls_uri_regex should be set")
334333
})
335334

0 commit comments

Comments
 (0)