[GRADLE-2730] JUnit test report testsuite timestamp is epoch Created: 02/Apr/13 Updated: 15/Nov/13 Resolved: 15/Nov/13 |
|
Status: | Resolved |
Project: | Gradle |
Affects Version/s: | 1.5-rc-2 |
Fix Version/s: | 1.10-rc-1 |
Type: | Bug | ||
Reporter: | AleWir | Assignee: | Szczepan Faber |
Resolution: | Fixed | Votes: | 5 |
Description |
In my test execution, JUnit classes report that their timestamp is 1970. <testsuite name="ams.auto.commissionexch.AtaExchangeOnStatement" tests="1" failures="0" errors="0" skipped="0" timestamp="1970-01-01T00:00:00" hostname="ctovm1588" time="1.364732164097E9"> |
Comments |
Comment by AleWir [ 04/Apr/13 ] |
See also: http://stackoverflow.com/questions/14991183/junit-test-report-testsuites-timestamp-is-epoch |
Comment by James Justinic [ 17/Jul/13 ] |
We are seeing this same problem in 1.6. The timestamp is Jan. 1, 1970 with the time calculated from that date on many tests. In our case, it is many, but not all generated XML results. We do have some testsuites that report the correct timestamp/time. |
Comment by Donald Ngo [ 13/Nov/13 ] |
This also happens on tests tasks used on TestNG as well. Please fix. Output of a single test's .xml, Notice the timestamp is 1970. <?xml version="1.1" encoding="UTF-8"?> $ gradle --version ------------------------------------------------------------ Build time: 2013-09-24 07:32:33 UTC Groovy: 1.8.6 |