Skip to content

Commit d36ab53

Browse files
committed
Fix tests
1 parent 4ec3a87 commit d36ab53

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

agent/agent_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1331,7 +1331,7 @@ func TestAgent_Lifecycle(t *testing.T) {
13311331
_, client, _, _, closer := setupAgent(t, agentsdk.Manifest{
13321332
Scripts: []codersdk.WorkspaceAgentScript{{
13331333
Script: "sleep 3",
1334-
Timeout: time.Nanosecond,
1334+
Timeout: time.Millisecond,
13351335
RunOnStop: true,
13361336
}},
13371337
}, 0)

site/src/pages/TerminalPage/TerminalPageAlert.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ const mapAlertTypeToText: MapAlertTypeToComponent = {
5353
severity: "info",
5454
children: (
5555
<>
56-
Startup script is still running. You can continue using this terminal,
56+
Startup scripts are still running. You can continue using this terminal,
5757
but{" "}
5858
<Link
5959
title="your workspace may be incomplete."
@@ -71,10 +71,10 @@ const mapAlertTypeToText: MapAlertTypeToComponent = {
7171
severity: "success",
7272
children: (
7373
<>
74-
Startup script has completed successfully. The workspace is ready but
74+
Startup scripts have completed successfully. The workspace is ready but
7575
this{" "}
7676
<Link
77-
title="session was started before the startup script finished"
77+
title="session was started before the startup scripts finished"
7878
href={docs("/templates#your-workspace-may-be-incomplete")}
7979
target="_blank"
8080
rel="noreferrer"

0 commit comments

Comments
 (0)