From 797aab941ebac799eac2e57119de7ab8b94b1888 Mon Sep 17 00:00:00 2001 From: SkorikSergey Date: Thu, 5 Nov 2026 10:58:32 +0200 Subject: [PATCH] fix: bound DevWorkspace deletion timeout --- tests/e2e/utils/KubernetesCommandLineToolsExecutor.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/e2e/utils/KubernetesCommandLineToolsExecutor.ts b/tests/e2e/utils/KubernetesCommandLineToolsExecutor.ts index 989ae982bf0..948dc2c90f2 100644 --- a/tests/e2e/utils/KubernetesCommandLineToolsExecutor.ts +++ b/tests/e2e/utils/KubernetesCommandLineToolsExecutor.ts @@ -148,7 +148,9 @@ export class KubernetesCommandLineToolsExecutor implements IKubernetesCommandLin this.shellExecutor.executeCommand( `${this.kubernetesCommandLineTool} patch dw ${this.workspaceName} -n ${this.namespace} -p '{ "metadata": { "finalizers": null }}' --type merge || true` ); - this.shellExecutor.executeCommand(`${this.kubernetesCommandLineTool} delete dw ${this.workspaceName} -n ${this.namespace} || true`); + this.shellExecutor.executeCommand( + `${this.kubernetesCommandLineTool} delete dw ${this.workspaceName} -n ${this.namespace} --timeout=2m || true` + ); let dwtName: string; if (devfileName === undefined) {