Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 825b326

Browse files
committed
chore: fix agent tests on Windows 11
1 parent c7fc7b9 commit 825b326

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

agent/agent_test.go

+1-5
Original file line numberDiff line numberDiff line change
@@ -1262,10 +1262,6 @@ func TestAgent_SSHConnectionLoginVars(t *testing.T) {
12621262
key: "LOGNAME",
12631263
want: u.Username,
12641264
},
1265-
{
1266-
key: "HOME",
1267-
want: u.HomeDir,
1268-
},
12691265
{
12701266
key: "SHELL",
12711267
want: shell,
@@ -1502,7 +1498,7 @@ func TestAgent_Lifecycle(t *testing.T) {
15021498

15031499
_, client, _, _, _ := setupAgent(t, agentsdk.Manifest{
15041500
Scripts: []codersdk.WorkspaceAgentScript{{
1505-
Script: "true",
1501+
Script: "echo foo",
15061502
Timeout: 30 * time.Second,
15071503
RunOnStart: true,
15081504
}},

0 commit comments

Comments
 (0)