Skip to content

Commit 0210a25

Browse files
committed
increase rate limiter
Signed-off-by: kangclzjc <kangz@nvidia.com>
1 parent e9ec287 commit 0210a25

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

operator/e2e/setup/k8s_clusters.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -508,6 +508,11 @@ configs:
508508
return nil, cleanup, fmt.Errorf("could not create rest config: %w", err)
509509
}
510510

511+
// Increase rate limiter settings for e2e tests to prevent throttling
512+
// Default QPS is 5.0 and Burst is 10, which is too low for tests with frequent API calls
513+
restConfig.QPS = 100.0 // Allow 100 queries per second
514+
restConfig.Burst = 200 // Allow initial burst of 200 queries
515+
511516
return restConfig, cleanup, nil
512517
}
513518

0 commit comments

Comments
 (0)