Fix occational JUnitTestPublisherTest.publish_rest_of_parameterized_tests failures