We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6199e6a commit 4fde536Copy full SHA for 4fde536
cli/ssh_test.go
@@ -91,6 +91,9 @@ func TestSSH(t *testing.T) {
91
92
// Shells on Mac, Windows, and Linux all exit shells with the "exit" command.
93
pty.WriteLine("exit")
94
+ // Read output to prevent hang on macOS, see:
95
+ // https://github.com/coder/coder/issues/2122
96
+ pty.ExpectMatch("exit")
97
<-cmdDone
98
})
99
t.Run("Stdio", func(t *testing.T) {
@@ -224,6 +227,9 @@ func TestSSH(t *testing.T) {
224
227
225
228
// And we're done.
226
229
230
231
232
233
234
235
}
0 commit comments