Skip to content

Commit 699e1e3

Browse files
committed
fix: sync
Signed-off-by: ashing <[email protected]>
1 parent 74b85b8 commit 699e1e3

File tree

4 files changed

+4
-1
lines changed

4 files changed

+4
-1
lines changed

.github/workflows/conformance-test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ jobs:
103103
- name: Get Logs from api7-ingress-controller
104104
shell: bash
105105
run: |
106+
export KUBECONFIG=/tmp/api7-ingress-cluster.kubeconfig
106107
kubectl logs -n api7ee-conformance-test -l app=api7-ingress-controller
107108
108109
- name: Upload Gateway API Conformance Report

test/conformance/suite_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,7 @@ func TestMain(m *testing.M) {
160160
Namespace: namespace,
161161
AdminEnpoint: framework.DashboardTLSEndpoint,
162162
StatusAddress: address,
163+
InitSyncDelay: 30 * time.Minute,
163164
})
164165

165166
defaultGatewayProxyOpts = GatewayProxyOpts{

test/e2e/framework/ingress.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ type IngressDeployOpts struct {
4646
AdminEnpoint string
4747
StatusAddress string
4848
Replicas int
49+
InitSyncDelay time.Duration
4950
}
5051

5152
func (f *Framework) DeployIngress(opts IngressDeployOpts) {

test/e2e/framework/manifests/ingress.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ data:
345345
# The period between two consecutive syncs.
346346
# The default value is 0 seconds, which means the controller will not sync.
347347
# If you want to enable the sync, set it to a positive value.
348-
init_sync_delay: 1m
348+
init_sync_delay: {{ .InitSyncDelay | default "1m" }}
349349
---
350350
apiVersion: v1
351351
kind: Service

0 commit comments

Comments
 (0)