firmata: avoid race condition on starting test
Signed-off-by: deadprogram <ron@hybridgroup.com>
This commit is contained in:
parent
26b97e2217
commit
078784eff1
|
@ -285,6 +285,7 @@ func TestProcessStringData(t *testing.T) {
|
|||
sem <- true
|
||||
})
|
||||
|
||||
time.Sleep(10 * time.Millisecond)
|
||||
go b.process()
|
||||
|
||||
select {
|
||||
|
|
Loading…
Reference in New Issue