Skip to content

Commit

Permalink
contrib/internal: increase timeout for teardown
Browse files Browse the repository at this point in the history
When apiserver was rolling update or kwok has been throttled by
apiserver, we increase timeout for teardown.

Signed-off-by: Wei Fu <[email protected]>
  • Loading branch information
fuweid committed May 11, 2024
1 parent 7e101e6 commit f5d03af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/internal/utils/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ func RepeatJobWith3KPod(ctx context.Context, kubeCfgPath string, namespace strin

defer func() {
klog.V(0).Infof("Cleanup namespace %s", namespace)
err := kr.DeleteNamespace(context.TODO(), 5*time.Minute, namespace)
err := kr.DeleteNamespace(context.TODO(), 60*time.Minute, namespace)
if err != nil {
klog.V(0).ErrorS(err, "failed to cleanup", "namespace", namespace)
}
Expand Down

0 comments on commit f5d03af

Please sign in to comment.