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

Skip to content

Commit 33090d2

Browse files
committed
chore: fix agent tests on Windows 11
1 parent c7fc7b9 commit 33090d2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

agent/agent_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -1264,7 +1264,7 @@ func TestAgent_SSHConnectionLoginVars(t *testing.T) {
12641264
},
12651265
{
12661266
key: "HOME",
1267-
want: u.HomeDir,
1267+
want: "abracadabra",
12681268
},
12691269
{
12701270
key: "SHELL",
@@ -1502,7 +1502,7 @@ func TestAgent_Lifecycle(t *testing.T) {
15021502

15031503
_, client, _, _, _ := setupAgent(t, agentsdk.Manifest{
15041504
Scripts: []codersdk.WorkspaceAgentScript{{
1505-
Script: "true",
1505+
Script: "echo foo",
15061506
Timeout: 30 * time.Second,
15071507
RunOnStart: true,
15081508
}},

0 commit comments

Comments
 (0)