-
Task
-
Resolution: Fixed
-
Minor
-
None
We have seen situations were parallel-test-executor-plugin takes as reference a job that is still running. As consequence, the test split generated is invalid as no all tests have been executed by the reference job.
My interpretation of this code suggests that only those jobs in status SUCCESSFULL or UNSTABLE should be candidates to be used as references. But the javadoc of Run#getResult states that it may return a result when the job is still running, so I believe that an extra check to discard running jobs (even if they return a Result) is needed.
- links to