Fix minor test failure
See commit message for details. I only see this failure on the CI pipeline and can't reproduce it locally, but it's a simple race condition in print ordering.
See commit message for details. I only see this failure on the CI pipeline and can't reproduce it locally, but it's a simple race condition in print ordering.