Skip to content

Commit c1803fc

Browse files
committed
fix: r
Signed-off-by: Ashing Zheng <[email protected]>
1 parent 86af904 commit c1803fc

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

internal/provider/adc/executor.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,7 @@ func (e *HTTPADCExecutor) runHTTPSyncForSingleServer(ctx context.Context, server
293293
return fmt.Errorf("failed to build HTTP request: %w", err)
294294
}
295295

296+
time.Sleep(5 * time.Second)
296297
// Send HTTP request
297298
resp, err := e.httpClient.Do(req)
298299
if err != nil {

test/e2e/crds/v2/status.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ spec:
198198
s.RetryAssertion(func() string {
199199
output, _ := s.GetOutputFromString("ar", "default", "-o", "yaml")
200200
return output
201-
}).WithTimeout(30 * time.Second).
201+
}).WithTimeout(60 * time.Second).
202202
Should(
203203
And(
204204
ContainSubstring(`status: "False"`),
@@ -221,7 +221,7 @@ spec:
221221
s.RetryAssertion(func() string {
222222
output, _ := s.GetOutputFromString("ar", "default", "-o", "yaml")
223223
return output
224-
}).WithTimeout(30 * time.Second).
224+
}).WithTimeout(60 * time.Second).
225225
Should(
226226
And(
227227
ContainSubstring(`status: "True"`),

test/e2e/framework/manifests/ingress.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ data:
334334
log_level: "debug"
335335
controller_name: {{ .ControllerName | default "apisix.apache.org/apisix-ingress-controller" }}
336336
leader_election_id: "apisix-ingress-controller-leader"
337-
exec_adc_timeout: 5s
337+
exec_adc_timeout: 20s
338338
provider:
339339
type: {{ .ProviderType | default "apisix-standalone" }}
340340
sync_period: {{ .ProviderSyncPeriod | default "0s" }}

test/e2e/gatewayapi/status.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ spec:
154154
s.RetryAssertion(func() string {
155155
output, _ := s.GetOutputFromString("httproute", "httpbin", "-o", "yaml")
156156
return output
157-
}).WithTimeout(30 * time.Second).
157+
}).WithTimeout(60 * time.Second).
158158
Should(
159159
And(
160160
ContainSubstring(`status: "False"`),
@@ -177,7 +177,7 @@ spec:
177177
s.RetryAssertion(func() string {
178178
output, _ := s.GetOutputFromString("httproute", "httpbin", "-o", "yaml")
179179
return output
180-
}).WithTimeout(30 * time.Second).
180+
}).WithTimeout(60 * time.Second).
181181
Should(
182182
And(
183183
ContainSubstring(`status: "True"`),

0 commit comments

Comments
 (0)