Skip to content

Commit 609a75e

Browse files
mdsebaldfhunleth
authored andcommitted
Test "lots of gpio refs can be created" is failing
Reduce count to 100. See if it is a timing issue.
1 parent 45eccd6 commit 609a75e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/circuits_gpio_test.exs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,9 @@ defmodule Circuits.GPIOTest do
6969
send(me, {:done, length(x)})
7070
end)
7171

72+
# Wait a tehth of a second to allow spawned task to complete
73+
Process.sleep(100)
74+
7275
assert_receive {:done, ^count}
7376

7477
# Wait a fraction of a second to allow GC to run since there's

0 commit comments

Comments
 (0)