@@ -341,7 +341,6 @@ func TestWorkspaceAgentLogs(t *testing.T) {
341
341
342
342
func TestWorkspaceAgentAppStatus (t * testing.T ) {
343
343
t .Parallel ()
344
- ctx := testutil .Context (t ,testutil .WaitMedium )
345
344
client ,db := coderdtest .NewWithDatabase (t ,nil )
346
345
user := coderdtest .CreateFirstUser (t ,client )
347
346
client ,user2 := coderdtest .CreateAnotherUser (t ,client ,user .OrganizationID )
@@ -362,6 +361,7 @@ func TestWorkspaceAgentAppStatus(t *testing.T) {
362
361
agentClient .SetSessionToken (r .AgentToken )
363
362
t .Run ("Success" ,func (t * testing.T ) {
364
363
t .Parallel ()
364
+ ctx := testutil .Context (t ,testutil .WaitShort )
365
365
err := agentClient .PatchAppStatus (ctx , agentsdk.PatchAppStatus {
366
366
AppSlug :"vscode" ,
367
367
Message :"testing" ,
@@ -385,6 +385,7 @@ func TestWorkspaceAgentAppStatus(t *testing.T) {
385
385
386
386
t .Run ("FailUnknownApp" ,func (t * testing.T ) {
387
387
t .Parallel ()
388
+ ctx := testutil .Context (t ,testutil .WaitShort )
388
389
err := agentClient .PatchAppStatus (ctx , agentsdk.PatchAppStatus {
389
390
AppSlug :"unknown" ,
390
391
Message :"testing" ,
@@ -399,6 +400,7 @@ func TestWorkspaceAgentAppStatus(t *testing.T) {
399
400
400
401
t .Run ("FailUnknownState" ,func (t * testing.T ) {
401
402
t .Parallel ()
403
+ ctx := testutil .Context (t ,testutil .WaitShort )
402
404
err := agentClient .PatchAppStatus (ctx , agentsdk.PatchAppStatus {
403
405
AppSlug :"vscode" ,
404
406
Message :"testing" ,
@@ -413,6 +415,7 @@ func TestWorkspaceAgentAppStatus(t *testing.T) {
413
415
414
416
t .Run ("FailTooLong" ,func (t * testing.T ) {
415
417
t .Parallel ()
418
+ ctx := testutil .Context (t ,testutil .WaitShort )
416
419
err := agentClient .PatchAppStatus (ctx , agentsdk.PatchAppStatus {
417
420
AppSlug :"vscode" ,
418
421
Message :strings .Repeat ("a" ,161 ),