[
https://issues.jenkins-ci.org/browse/JENKINS-12457?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=161857#comment-161857
]
dogfood commented on JENKINS-12457:
-----------------------------------
Integrated in !http://ci.jenkins-ci.org/images/16x16/blue.png!
[jenkins_ui-changes_branch
#21|http://ci.jenkins-ci.org/job/jenkins_ui-changes_branch/21/]
Revert "[FIXED JENKINS-12457] 'Age' column on 'Test Result' tab may show
incorrect value when a test suite divided into multiple junit files" (Revision
7fba652710e64f6dce00e2e186e77ee2a39bd445)
[Re-FIXED JENKINS-12457] 'Age' column on 'Test Result' tab may show incorrect
value when a test suite divided into multiple junit files (Revision
d9e87705e8d693bc9d028e1da8c614c0fb736cd3)
Result = SUCCESS
Christoph Kutzinski :
[7fba652710e64f6dce00e2e186e77ee2a39bd445|https://github.com/jenkinsci/jenkins/commit/7fba652710e64f6dce00e2e186e77ee2a39bd445]
Files :
* core/src/test/resources/hudson/tasks/junit/eclipse-plugin-test-report.xml
* core/src/main/java/hudson/tasks/junit/TestResult.java
* core/src/main/java/hudson/tasks/junit/SuiteResult.java
* core/src/test/java/hudson/tasks/junit/TestResultTest.java
* core/src/main/java/hudson/tasks/junit/CaseResult.java
Christoph Kutzinski :
[d9e87705e8d693bc9d028e1da8c614c0fb736cd3|https://github.com/jenkinsci/jenkins/commit/d9e87705e8d693bc9d028e1da8c614c0fb736cd3]
Files :
*
core/src/test/resources/hudson/tasks/junit/JENKINS-12457/TestSuite_b_duplicate.xml
* core/src/test/java/hudson/tasks/junit/TestResultTest.java
* changelog.html
* core/src/test/resources/hudson/tasks/junit/JENKINS-12457/TestSuite_b.xml
* core/src/main/java/hudson/tasks/junit/CaseResult.java
* core/src/test/resources/hudson/tasks/junit/JENKINS-12457/TestSuite_a2.xml
* core/src/test/resources/hudson/tasks/junit/JENKINS-12457/TestSuite_a1.xml
* core/src/main/java/hudson/tasks/junit/TestResult.java
> 'Age' column on 'Test Result' tab may show incorrect value when a test suite
> divided into multiple junit files
> --------------------------------------------------------------------------------------------------------------
>
> Key: JENKINS-12457
> URL: https://issues.jenkins-ci.org/browse/JENKINS-12457
> Project: Jenkins
> Issue Type: Improvement
> Components: junit
> Affects Versions: current
> Reporter: Greg Temchenko
> Assignee: kutzi
>
> Somebody described the problem a year ago here:
> http://jenkins.361315.n4.nabble.com/Problem-with-Age-column-on-Test-Results-tab-td3172208.html
> {quote}
> I have a problem with 'Age' column on 'Test Results' tab. For couple of my
> tests, all the time this column has value equals '1', despite the fact that
> those tests start failing earlier than one build ago. When I switch to
> 'History' tab, in 'Test Result' column there is a 'Regression' value for all
> builds, and it should be 'Regression' value only for the first build and
> 'Failed' for next builds.
> {quote}
> For me this happens because I have many junit xmls that containing the same
> test suite name.
> In this case hudson.tasks.junit.CaseResult.getPreviousResult() gets the only
> last junit xml result and if it's not failed then the Age column won't be
> calculated properly.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira