Skip to content

Commit 43611ed

Browse files
committed
fix
1 parent 96936ca commit 43611ed

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

coderd/workspacebuilds_test.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1194,9 +1194,8 @@ func TestWorkspaceBuildDebugMode(t *testing.T) {
11941194
coderdtest.AwaitWorkspaceBuildJob(t, client, workspace.LatestBuild.ID)
11951195

11961196
// Create workspace build
1197-
// ctx, cancel := context.WithTimeout(context.Background(), testutil.WaitLong)
1198-
//defer cancel()
1199-
ctx := context.Background()
1197+
ctx, cancel := context.WithTimeout(context.Background(), testutil.WaitLong)
1198+
defer cancel()
12001199

12011200
build, err := client.CreateWorkspaceBuild(ctx, workspace.ID, codersdk.CreateWorkspaceBuildRequest{
12021201
TemplateVersionID: workspace.LatestBuild.TemplateVersionID,

0 commit comments

Comments
 (0)