@@ -289,7 +289,7 @@ func TestCreateUserWorkspace(t *testing.T) {
289
289
290
290
template ,_ := coderdtest .DynamicParameterTemplate (t ,admin ,first .OrganizationID , coderdtest.DynamicParameterTemplateParams {})
291
291
292
- ctx = testutil .Context (t ,testutil .WaitLong * 1000 ) // Reset the context to avoid timeouts.
292
+ ctx = testutil .Context (t ,testutil .WaitLong )
293
293
294
294
wrk ,err := creator .CreateUserWorkspace (ctx ,adminID .ID .String (), codersdk.CreateWorkspaceRequest {
295
295
TemplateID :template .ID ,
@@ -347,11 +347,9 @@ func TestCreateUserWorkspace(t *testing.T) {
347
347
},
348
348
)
349
349
350
- version := coderdtest .CreateTemplateVersion (t ,creator ,first .OrganizationID ,nil )
351
- coderdtest .AwaitTemplateVersionJobCompleted (t ,creator ,version .ID )
352
- template := coderdtest .CreateTemplate (t ,creator ,first .OrganizationID ,version .ID )
350
+ template ,_ := coderdtest .DynamicParameterTemplate (t ,creator ,first .OrganizationID , coderdtest.DynamicParameterTemplateParams {})
353
351
354
- ctx = testutil .Context (t ,testutil .WaitLong * 1000 ) // Reset the context to avoid timeouts.
352
+ ctx = testutil .Context (t ,testutil .WaitLong )
355
353
356
354
wrk ,err := creator .CreateUserWorkspace (ctx ,forUser .ID .String (), codersdk.CreateWorkspaceRequest {
357
355
TemplateID :template .ID ,