Skip to content

Commit 2c6249a

Browse files
committed
set readyat in timeout test for completeness
1 parent c85aa44 commit 2c6249a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cli/cliui/agent_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ func TestAgent(t *testing.T) {
104104
agent.Status = codersdk.WorkspaceAgentConnected
105105
agent.LifecycleState = codersdk.WorkspaceAgentLifecycleStartTimeout
106106
agent.FirstConnectedAt = ptr.Ref(time.Now())
107+
agent.ReadyAt = ptr.Ref(time.Now())
107108
return nil
108109
},
109110
},

0 commit comments

Comments
 (0)