Make channels buffered otherwise it will hang
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Hamcha 2019-06-28 16:17:35 +02:00
parent 4a521f595d
commit 6c6a8a843d
1 changed files with 2 additions and 2 deletions

View File

@ -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,