I have some integration tests I am trying to write for an AnyEvent test loop which uses Coro to avoid deadlocks when I send data to Etcd using Net::Etcd. This means that the tests which introspect the event happen inside a Coro unblock_sub call.
Everything mostly works except for the fact that I don't always get all the test output.
My working theory is that the initial events run and schedule coros which get run after. These then run, in order etc. But I suspect that somewhere along the line the output is truncated.
Has anyone here seen a similar problem testing AnyEvent/Coro apps?| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |