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

TestNG plugin have unreasonable judgement when process report

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Minor Minor
    • testng-plugin
    • None

      There have different result when I build two jobs in the same slave node.
      one job(JOB A) success->TestNG Reports Processing: FINISH
      another(JOB B) happen->testng-results.xml was last modified before this build started. Ignoring it.
      JOB A spend time>JOB B spend time

      then, I googled that it can be resolved by sync the clocks.
      But it's unreasonable. why the two job have diff result!
      It seems TestNG plugin judged the time of file TESTS-TestSuites.xml when process report. But it have a unreasonable judgement and led to the below situation occur:
      If the job spend time>the Interval time between master and slave, it worked,like JOB A.
      If the job spend time<the Interval time between master and slave, it didn't worke.like JOB B.

            nullin Nalin Makar
            felixlian lian dong
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: