in reply to Re: Seemingly Truncated Test Output with Coro, AnyEvent and Test2::V0
in thread Seemingly Truncated Test Output with Coro, AnyEvent and Test2::V0
So my working model has changed. I will need to do some more research and report back.
When I count the tests that should run manually, I get 38 tests. However, the script seems to only run between 28 and 36 tests. What's particularly strange here is that I can call done_testing() and it works if I do it before I shut down an external etcd daemon used in the testing. I had previously thought the error was truncated output because done_testing didn't seem to work but this is more of an output order issue.
Running the test manually confirms a variable number of tests actually run before I come to an end-of-test condition. I now think the problem is coros being scheduled but not run yet But they seem to always run in the desired order, so I am confused here.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Seemingly Truncated Test Output with Coro, AnyEvent and Test2::V0
by NERDVANA (Priest) on Nov 15, 2023 at 11:36 UTC |