Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
buffer chan so goroutine doesn't block
  • Loading branch information
spikecurtis authored Nov 13, 2023
commit 2b943ba56fc1909824a5da3c63444155cf057dcc
2 changes: 1 addition & 1 deletion cli/ssh_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ func TestSSH(t *testing.T) {
})

// accept a single connection
msgs := make(chan string)
msgs := make(chan string, 1)
go func() {
conn, err := l.Accept()
if !assert.NoError(t, err) {
Expand Down