firmata: avoid race condition on starting test

Signed-off-by: deadprogram <ron@hybridgroup.com>
This commit is contained in:
deadprogram 2017-05-03 12:11:49 +02:00
parent 26b97e2217
commit 078784eff1
1 changed files with 1 additions and 0 deletions

View File

@ -285,6 +285,7 @@ func TestProcessStringData(t *testing.T) {
sem <- true
})
time.Sleep(10 * time.Millisecond)
go b.process()
select {