Make channels buffered otherwise it will hang
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
4a521f595d
commit
6c6a8a843d
1 changed files with 2 additions and 2 deletions
|
@ -21,8 +21,8 @@ type MockServer struct {
|
|||
}
|
||||
|
||||
func makeMockServer() *MockServer {
|
||||
in := make(chan room.ServerMessage)
|
||||
out := make(chan room.BotMessage)
|
||||
in := make(chan room.ServerMessage, 99)
|
||||
out := make(chan room.BotMessage, 99)
|
||||
srv := &MockServer{
|
||||
in: in,
|
||||
out: out,
|
||||
|
|
Loading…
Reference in a new issue