Skip to content
Prev Previous commit
Next Next commit
fix
  • Loading branch information
mtojek committed Mar 29, 2023
commit 43611ed86f10c6826534e249fa429859a0e8f69f
5 changes: 2 additions & 3 deletions coderd/workspacebuilds_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1194,9 +1194,8 @@ func TestWorkspaceBuildDebugMode(t *testing.T) {
coderdtest.AwaitWorkspaceBuildJob(t, client, workspace.LatestBuild.ID)

// Create workspace build
// ctx, cancel := context.WithTimeout(context.Background(), testutil.WaitLong)
//defer cancel()
ctx := context.Background()
ctx, cancel := context.WithTimeout(context.Background(), testutil.WaitLong)
defer cancel()

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