File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
functional_tests/internal Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -23,8 +23,8 @@ const (
2323 leaseName = "functional-test-lock"
2424 leaseNamespace = "default"
2525
26- leaseDuration = 15 * time .Second
27- renewDeadline = 10 * time .Second
26+ leaseDuration = 20 * time .Second
27+ renewDeadline = 15 * time .Second
2828 retryPeriod = 2 * time .Second
2929)
3030
@@ -34,6 +34,9 @@ const (
3434func AcquireLeaseForTest (t * testing.T , testKubeConfig string ) {
3535 kubeConfig , err := clientcmd .BuildConfigFromFlags ("" , testKubeConfig )
3636 require .NoError (t , err )
37+ // increase from the default of 5/10 to avoid rate limiting error noticed in K8s 1.35+
38+ kubeConfig .QPS = 15
39+ kubeConfig .Burst = 35
3740 client , err := kubernetes .NewForConfig (kubeConfig )
3841 require .NoError (t , err )
3942
You can’t perform that action at this time.
0 commit comments