Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c18a23 commit 370b08cCopy full SHA for 370b08c
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