Skip to content

Commit

Permalink
chore: lower bearer token secret timeout to 5s
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Helfand <helfand.4@gmail.com>
  • Loading branch information
danielhelfand committed Jun 17, 2022
1 parent 5cf9043 commit 1332174
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/e2e/fixture/applicationsets/actions.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ func GetServiceAccountBearerToken(clientset kubernetes.Interface, ns string, sa
var serviceAccount *corev1.ServiceAccount
var secret *corev1.Secret
var err error
err = wait.Poll(500*time.Millisecond, 10*time.Second, func() (bool, error) {
err = wait.Poll(500*time.Millisecond, 5*time.Second, func() (bool, error) {
serviceAccount, err = clientset.CoreV1().ServiceAccounts(ns).Get(context.Background(), sa, metav1.GetOptions{})
if err != nil {
return false, err
Expand Down

0 comments on commit 1332174

Please sign in to comment.