From 6c6a8a843d7cf4745128d93cb8eeb5c9693fd508 Mon Sep 17 00:00:00 2001 From: Hamcha Date: Fri, 28 Jun 2019 16:17:35 +0200 Subject: [PATCH] Make channels buffered otherwise it will hang --- draftbot/draftbot_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/draftbot/draftbot_test.go b/draftbot/draftbot_test.go index 871cd94..500f900 100644 --- a/draftbot/draftbot_test.go +++ b/draftbot/draftbot_test.go @@ -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,