From 078784eff170b702c5c856d2ce67f00856760ab0 Mon Sep 17 00:00:00 2001 From: deadprogram Date: Wed, 3 May 2017 12:11:49 +0200 Subject: [PATCH] firmata: avoid race condition on starting test Signed-off-by: deadprogram --- platforms/firmata/client/client_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/platforms/firmata/client/client_test.go b/platforms/firmata/client/client_test.go index 689ca5e2..d5b1d9f4 100644 --- a/platforms/firmata/client/client_test.go +++ b/platforms/firmata/client/client_test.go @@ -285,6 +285,7 @@ func TestProcessStringData(t *testing.T) { sem <- true }) + time.Sleep(10 * time.Millisecond) go b.process() select {