Skip to content

Commit

Permalink
sleep
Browse files Browse the repository at this point in the history
  • Loading branch information
kylos101 committed Dec 17, 2024
1 parent eaf1055 commit 9501b94
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions components/ws-daemon/pkg/controller/workspace_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,8 @@ func (wsc *WorkspaceController) handleWorkspaceStop(ctx context.Context, ws *wor
span, ctx := opentracing.StartSpanFromContext(ctx, "handleWorkspaceStop")
defer tracing.FinishSpan(span, &err)

time.Sleep(300 * time.Second)

if ws.IsConditionTrue(workspacev1.WorkspaceConditionPodRejected) {
// edge case only exercised for rejected workspace pods
if ws.IsConditionPresent(workspacev1.WorkspaceConditionStateWiped) {
Expand Down

0 comments on commit 9501b94

Please sign in to comment.