mzaks / Colloop

Simple co-routine like mechanism for Swift Collections

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Schedulers are not deterministic

NinoScript opened this issue · comments

The test testCoroutineWithMultipleCoRoutinesAndStepsOnDeidcatedQueue will sometimes fail, the behavior you're testing is not guaranteed.

If you run the tests enough times, you will sometimes see this:
screen shot 2017-05-18 at 10 57 03 am

Should be solved now by putting the run statements on the same queue