Skip to content

Commit ffe6559

Browse files
committed
test: reduce polling frequency on PC API
Attempt to avoid RATE_LIMIT_EXCEEDED error in parallel tests.
1 parent 3a86dd6 commit ffe6559

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/e2e/framework/nutanix/client.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ func WaitForTaskCompletion(
5555

5656
if err := wait.PollUntilContextCancel(
5757
ctx,
58-
100*time.Millisecond,
59-
true,
58+
1*time.Second,
59+
false,
6060
func(ctx context.Context) (done bool, err error) {
6161
task, err := v4Client.TasksApiInstance.GetTaskById(ptr.To(taskID))
6262
if err != nil {

0 commit comments

Comments
 (0)