Sitelet https://github.com/kubernetes/kops/commit/b6a2833485dda96ad3126dd300090541fc343d55
Skip to content

Commit b6a2833

Browse files
committed
[autoscaling]: increase namespace deletion timeout to 10m to avoid flakes in CI
Unclear if this is a real issue or just a flake in CI, but increasing the timeout to 10m should help avoid flakes. We can/should reduce it in another PR and try to root-cause.
1 parent 29aa401 commit b6a2833

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • tests/e2e/scenarios/ai-conformance/validators

‎tests/e2e/scenarios/ai-conformance/validators/kube.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ func (h *ValidatorHarness) TestNamespace() string {
205205
}
206206

207207
// Wait for namespace deletion to complete so that we don't have leftover namespaces consuming resources.
208-
if err := wait.PollUntilContextTimeout(ctx, 2*time.Second, 5*time.Minute, false, func(ctx context.Context) (done bool, err error) {
208+
if err := wait.PollUntilContextTimeout(ctx, 2*time.Second, 10*time.Minute, false, func(ctx context.Context) (done bool, err error) {
209209
if _, err := h.DynamicClient().Resource(namespaceGVR).Get(ctx, ns, metav1.GetOptions{}); err != nil {
210210
if apierrors.IsNotFound(err) {
211211
return true, nil

0 commit comments

Comments
 (0)