These checks may or may not be true depending on how long it takes pt1/p1 to finish executing. You can verify this by adding a sleep before the check in which case "is_ready()" is always true.
My guess is this may have come from copy/paste from the when_all tests. I did not go through all when_any tests extremely thoroughly, so there might be other cases as well.
These checks may or may not be true depending on how long it takes
pt1
/p1
to finish executing. You can verify this by adding a sleep before the check in which case "is_ready()" is always true.My guess is this may have come from copy/paste from the
when_all
tests. I did not go through allwhen_any
tests extremely thoroughly, so there might be other cases as well.