Quantcast

[JIRA] (JENKINS-15119) Duration sorting is incorrect in TestNG report

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-15119) Duration sorting is incorrect in TestNG report

JIRA noreply@jenkins-ci.org
Issue Type: Bug Bug
Affects Versions: current
Assignee: nalin_makar
Components: testng
Created: 11/Sep/12 3:59 PM
Description:

TestNG results (a freestyle job) are not currectly sorted by duration. See the screenshots.

Test results are generated by TestNG 6.5.1.

Environment: testng-plugin 0.32
Jenkins 1.478
Project: Jenkins
Priority: Major Major
Reporter: Hua Zhang
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-15119) Duration sorting is incorrect in TestNG report

JIRA noreply@jenkins-ci.org

TestNG results sorted by duration

Change By: Hua Zhang (11/Sep/12 4:01 PM)
Attachment: testng-sort-by-duration-1.png
Attachment: testng-sort-by-duration-2.png
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-15119) Duration sorting is incorrect in TestNG report

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org
Change By: Hua Zhang (11/Sep/12 4:05 PM)
Description: TestNG results (a freestyle job) are not currectly sorted by duration. See the screenshots.

Test results are generated by TestNG 6.5.1.


Jenkins: native Debian package
Server: Debian 6.0; Locale: DE
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-15119) Duration sorting is incorrect in TestNG report

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org
nalin_makar resolved Bug JENKINS-15119 as Fixed
Change By: nalin_makar (05/Jan/13 6:32 PM)
Status: Open Resolved
Resolution: Fixed
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-15119) Duration sorting is incorrect in TestNG report

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

Code changed in jenkins
User: Nalin Makar
Path:
README
src/main/java/hudson/plugins/testng/util/FormatUtil.java
src/test/java/hudson/plugins/testng/util/FormatUtilTest.java
http://jenkins-ci.org/commit/testng-plugin-plugin/b71d891567cb85434b6d56d85915e7b0a8cbbf10
Log:
Fixed: JENKINS-15119 - Duration sorting is incorrect in TestNG report

1. Sorting in Jenkins table is alphabetic and that was a problem for how we were formatting duration string. Also, our duration strings were difficult to read. Changed it to be:
a. "> 24hrs", or
b. hh:mm:ss.ZZZ

This takes care of sorting as well as makes reading/comparing the time duration easier across multiple rows. Added FormatUtilTest as well.

Compare: https://github.com/jenkinsci/testng-plugin-plugin/compare/d39f3bb74efe...b71d891567cb

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-15119) Duration sorting is incorrect in TestNG report

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org
Hua Zhang commented on Bug JENKINS-15119

The sorting is now correct. Thanks!

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Loading...