Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-53172

parallel-test-executor-plugin should check that the job is not running

XMLWordPrintable

      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.

            rarabaolaza Raul Arabaolaza
            rarabaolaza Raul Arabaolaza
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: