Closed staltz closed 3 years ago
I think it has something to do with the setTimeout that makes things behave non-deterministic in that sometimes updateIndexes is not the first then to be called. I'll try cooking up a PR, I'm unable to reproduce either this or #68. Both should be the same problem.
I don't get it. I have been running the tests more than 100 times locally and at least 7 times now using CI and it doesn't break.
Looking at the 2 failures they have the thing in common that they are not the first test. So I don't think its related to the init code. They both fail because somehow drain is not working and they get the wrong messages (or none).
Happens with commit 7f2233f0e66caff6273b23e293e6201d8bc08a15