I always felt uncomfortable using this trick in our tests (I've done it in some places too). Hopefully in the future when we have better notifications we can make this more deterministic.