Make channels buffered otherwise it will hang
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Hamcha 2019-06-28 16:17:35 +02:00
parent 4a521f595d
commit 6c6a8a843d

View file

@ -21,8 +21,8 @@ type MockServer struct {
} }
func makeMockServer() *MockServer { func makeMockServer() *MockServer {
in := make(chan room.ServerMessage) in := make(chan room.ServerMessage, 99)
out := make(chan room.BotMessage) out := make(chan room.BotMessage, 99)
srv := &MockServer{ srv := &MockServer{
in: in, in: in,
out: out, out: out,