Skip to content

Commit 9501b94

Browse files
committed
sleep
1 parent eaf1055 commit 9501b94

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

components/ws-daemon/pkg/controller/workspace_controller.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,8 @@ func (wsc *WorkspaceController) handleWorkspaceStop(ctx context.Context, ws *wor
262262
span, ctx := opentracing.StartSpanFromContext(ctx, "handleWorkspaceStop")
263263
defer tracing.FinishSpan(span, &err)
264264

265+
time.Sleep(300 * time.Second)
266+
265267
if ws.IsConditionTrue(workspacev1.WorkspaceConditionPodRejected) {
266268
// edge case only exercised for rejected workspace pods
267269
if ws.IsConditionPresent(workspacev1.WorkspaceConditionStateWiped) {

0 commit comments

Comments
 (0)