@@ -341,7 +341,6 @@ func TestWorkspaceAgentLogs(t *testing.T) {
341341
342342func TestWorkspaceAgentAppStatus (t * testing.T ) {
343343t .Parallel ()
344- ctx := testutil .Context (t ,testutil .WaitMedium )
345344client ,db := coderdtest .NewWithDatabase (t ,nil )
346345user := coderdtest .CreateFirstUser (t ,client )
347346client ,user2 := coderdtest .CreateAnotherUser (t ,client ,user .OrganizationID )
@@ -362,6 +361,7 @@ func TestWorkspaceAgentAppStatus(t *testing.T) {
362361agentClient .SetSessionToken (r .AgentToken )
363362t .Run ("Success" ,func (t * testing.T ) {
364363t .Parallel ()
364+ ctx := testutil .Context (t ,testutil .WaitShort )
365365err := agentClient .PatchAppStatus (ctx , agentsdk.PatchAppStatus {
366366AppSlug :"vscode" ,
367367Message :"testing" ,
@@ -385,6 +385,7 @@ func TestWorkspaceAgentAppStatus(t *testing.T) {
385385
386386t .Run ("FailUnknownApp" ,func (t * testing.T ) {
387387t .Parallel ()
388+ ctx := testutil .Context (t ,testutil .WaitShort )
388389err := agentClient .PatchAppStatus (ctx , agentsdk.PatchAppStatus {
389390AppSlug :"unknown" ,
390391Message :"testing" ,
@@ -399,6 +400,7 @@ func TestWorkspaceAgentAppStatus(t *testing.T) {
399400
400401t .Run ("FailUnknownState" ,func (t * testing.T ) {
401402t .Parallel ()
403+ ctx := testutil .Context (t ,testutil .WaitShort )
402404err := agentClient .PatchAppStatus (ctx , agentsdk.PatchAppStatus {
403405AppSlug :"vscode" ,
404406Message :"testing" ,
@@ -413,6 +415,7 @@ func TestWorkspaceAgentAppStatus(t *testing.T) {
413415
414416t .Run ("FailTooLong" ,func (t * testing.T ) {
415417t .Parallel ()
418+ ctx := testutil .Context (t ,testutil .WaitShort )
416419err := agentClient .PatchAppStatus (ctx , agentsdk.PatchAppStatus {
417420AppSlug :"vscode" ,
418421Message :strings .Repeat ("a" ,161 ),