Skip to content

Commit ca64828

Browse files
authored
test: reduce polling frequency on PC API (#1312)
**What problem does this PR solve?**: Attempt to avoid RATE_LIMIT_EXCEEDED error in parallel tests. https://github.com/nutanix-cloud-native/cluster-api-runtime-extensions-nutanix/actions/runs/17841696854/job/50732997651?pr=1309#step:7:554 **Which issue(s) this PR fixes**: Fixes # **How Has This Been Tested?**: <!-- Please describe the tests that you ran to verify your changes. Provide output from the tests and any manual steps needed to replicate the tests. --> **Special notes for your reviewer**: <!-- Use this to provide any additional information to the reviewers. This may include: - Best way to review the PR. - Where the author wants the most review attention on. - etc. -->
1 parent 3a86dd6 commit ca64828

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)