diff --git a/scaletest/reconnectingpty/run_test.go b/scaletest/reconnectingpty/run_test.go index 1112ec10d8..30241a053d 100644 --- a/scaletest/reconnectingpty/run_test.go +++ b/scaletest/reconnectingpty/run_test.go @@ -31,7 +31,8 @@ func Test_Runner(t *testing.T) { runner := reconnectingpty.NewRunner(client, reconnectingpty.Config{ AgentID: agentID, Init: codersdk.ReconnectingPTYInit{ - Command: "echo 'hello world' && sleep 1", + // Use ; here because it's powershell compatible (vs &&). + Command: "echo 'hello world'; sleep 1", }, LogOutput: true, }) @@ -195,7 +196,7 @@ func Test_Runner(t *testing.T) { runner := reconnectingpty.NewRunner(client, reconnectingpty.Config{ AgentID: agentID, Init: codersdk.ReconnectingPTYInit{ - Command: "echo 'hello world' && sleep 1", + Command: "echo 'hello world'; sleep 1", }, ExpectOutput: "hello world", LogOutput: false, @@ -219,7 +220,7 @@ func Test_Runner(t *testing.T) { runner := reconnectingpty.NewRunner(client, reconnectingpty.Config{ AgentID: agentID, Init: codersdk.ReconnectingPTYInit{ - Command: "echo 'hello world' && sleep 1", + Command: "echo 'hello world'; sleep 1", }, ExpectOutput: "bello borld", LogOutput: false,