Skip to content

Commit a67768f

Browse files
committed
fix race
1 parent 202d29a commit a67768f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

enterprise/cli/start_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ func TestStart(t *testing.T) {
143143

144144
// Instantiate a new context for each subtest since
145145
// they can potentially be lengthy.
146-
ctx = testutil.Context(t, testutil.WaitMedium)
146+
ctx := testutil.Context(t, testutil.WaitMedium)
147147
// Create the workspace using the admin since we want
148148
// to force the old version.
149149
ws, err := ownerClient.CreateWorkspace(ctx, owner.OrganizationID, c.WorkspaceOwner.String(), codersdk.CreateWorkspaceRequest{

0 commit comments

Comments
 (0)