You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Julian Wood (JIRA)" <ji...@codehaus.org> on 2006/05/05 22:06:40 UTC
[jira] Created: (MCHANGELOG-36) Tests fail on build
Tests fail on build
-------------------
Key: MCHANGELOG-36
URL: http://jira.codehaus.org/browse/MCHANGELOG-36
Project: Maven 2.x Changelog Plugin
Type: Bug
Versions: 2.0
Environment: osx 10.4.6, java 1.4.2_06
Reporter: Julian Wood
The date test assertions all fail:
junit.framework.AssertionFailedError: Test changelog 1 set 1 date/time expected:<239635800000> but was:< 239715000000 >
at org.apache.maven.changelog.ChangeLogTest.testReadFile(ChangeLogTest.java:50)
assertEquals( "Test changelog 1 set 1 date/time", 239635800000L, changeSet.getDate().getTime() );
They just have the wrong date, and they are offset by the timezone ( 7 hours, in my case - I'm MST -0700)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Commented: (MCHANGELOG-36) Tests fail on build
Posted by "Edwin Punzalan (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MCHANGELOG-36?page=comments#action_65891 ]
Edwin Punzalan commented on MCHANGELOG-36:
------------------------------------------
Julian, I applied your patch and it failed in my machine. Maybe something's missing. Thanks.
> Tests fail on build
> -------------------
>
> Key: MCHANGELOG-36
> URL: http://jira.codehaus.org/browse/MCHANGELOG-36
> Project: Maven 2.x Changelog Plugin
> Type: Bug
> Versions: 2.0
> Environment: osx 10.4.6, java 1.4.2_06
> Reporter: Julian Wood
> Assignee: Edwin Punzalan
> Fix For: 2.0
> Attachments: MCHANGELOG-36.patch
>
>
> The date test assertions all fail:
> junit.framework.AssertionFailedError: Test changelog 1 set 1 date/time expected:<239635800000> but was:< 239715000000 >
> at org.apache.maven.changelog.ChangeLogTest.testReadFile(ChangeLogTest.java:50)
> assertEquals( "Test changelog 1 set 1 date/time", 239635800000L, changeSet.getDate().getTime() );
> They just have the wrong date, and they are offset by the timezone ( 7 hours, in my case - I'm MST -0700)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Commented: (MCHANGELOG-36) Tests fail on build
Posted by "Julian Wood (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MCHANGELOG-36?page=comments#action_66125 ]
Julian Wood commented on MCHANGELOG-36:
---------------------------------------
MCHANGELOG-36a.patch supercedes MCHANGELOG-36.patch (ie ignore or delete MCHANGELOG-36.patch)
> Tests fail on build
> -------------------
>
> Key: MCHANGELOG-36
> URL: http://jira.codehaus.org/browse/MCHANGELOG-36
> Project: Maven 2.x Changelog Plugin
> Type: Bug
> Versions: 2.0
> Environment: osx 10.4.6, java 1.4.2_06
> Reporter: Julian Wood
> Assignee: Edwin Punzalan
> Fix For: 2.0
> Attachments: MCHANGELOG-36.patch, MCHANGELOG-36a.patch
>
>
> The date test assertions all fail:
> junit.framework.AssertionFailedError: Test changelog 1 set 1 date/time expected:<239635800000> but was:< 239715000000 >
> at org.apache.maven.changelog.ChangeLogTest.testReadFile(ChangeLogTest.java:50)
> assertEquals( "Test changelog 1 set 1 date/time", 239635800000L, changeSet.getDate().getTime() );
> They just have the wrong date, and they are offset by the timezone ( 7 hours, in my case - I'm MST -0700)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Closed: (MCHANGELOG-36) Tests fail on build
Posted by "Edwin Punzalan (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MCHANGELOG-36?page=all ]
Edwin Punzalan closed MCHANGELOG-36:
------------------------------------
Resolution: Fixed
Patch applied. Thanks.
> Tests fail on build
> -------------------
>
> Key: MCHANGELOG-36
> URL: http://jira.codehaus.org/browse/MCHANGELOG-36
> Project: Maven 2.x Changelog Plugin
> Type: Bug
> Versions: 2.0
> Environment: osx 10.4.6, java 1.4.2_06
> Reporter: Julian Wood
> Assignee: Edwin Punzalan
> Fix For: 2.0
> Attachments: MCHANGELOG-36.patch, MCHANGELOG-36a.patch
>
>
> The date test assertions all fail:
> junit.framework.AssertionFailedError: Test changelog 1 set 1 date/time expected:<239635800000> but was:< 239715000000 >
> at org.apache.maven.changelog.ChangeLogTest.testReadFile(ChangeLogTest.java:50)
> assertEquals( "Test changelog 1 set 1 date/time", 239635800000L, changeSet.getDate().getTime() );
> They just have the wrong date, and they are offset by the timezone ( 7 hours, in my case - I'm MST -0700)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Updated: (MCHANGELOG-36) Tests fail on build
Posted by "Julian Wood (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MCHANGELOG-36?page=all ]
Julian Wood updated MCHANGELOG-36:
----------------------------------
Attachment: MCHANGELOG-36.patch
> Tests fail on build
> -------------------
>
> Key: MCHANGELOG-36
> URL: http://jira.codehaus.org/browse/MCHANGELOG-36
> Project: Maven 2.x Changelog Plugin
> Type: Bug
> Versions: 2.0
> Environment: osx 10.4.6, java 1.4.2_06
> Reporter: Julian Wood
> Attachments: MCHANGELOG-36.patch
>
>
> The date test assertions all fail:
> junit.framework.AssertionFailedError: Test changelog 1 set 1 date/time expected:<239635800000> but was:< 239715000000 >
> at org.apache.maven.changelog.ChangeLogTest.testReadFile(ChangeLogTest.java:50)
> assertEquals( "Test changelog 1 set 1 date/time", 239635800000L, changeSet.getDate().getTime() );
> They just have the wrong date, and they are offset by the timezone ( 7 hours, in my case - I'm MST -0700)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Commented: (MCHANGELOG-36) Tests fail on build
Posted by "Carlos Sanchez (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MCHANGELOG-36?page=comments#action_65936 ]
Carlos Sanchez commented on MCHANGELOG-36:
------------------------------------------
I get also an error
-------------------------------------------------------------------------------
Test set: org.apache.maven.changelog.ChangeLogTest
-------------------------------------------------------------------------------
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.015 sec <<< FAILURE!
testReadFile(org.apache.maven.changelog.ChangeLogTest) Time elapsed: 0.015 sec <<< FAILURE!
junit.framework.AssertionFailedError: Test changelog 1 set 1 date/time expected:<239635800000> but was:<239747400000>
at junit.framework.Assert.fail(Assert.java:47)
at junit.framework.Assert.failNotEquals(Assert.java:282)
at junit.framework.Assert.assertEquals(Assert.java:64)
at junit.framework.Assert.assertEquals(Assert.java:136)
at org.apache.maven.changelog.ChangeLogTest.testReadFile(ChangeLogTest.java:50)
> Tests fail on build
> -------------------
>
> Key: MCHANGELOG-36
> URL: http://jira.codehaus.org/browse/MCHANGELOG-36
> Project: Maven 2.x Changelog Plugin
> Type: Bug
> Versions: 2.0
> Environment: osx 10.4.6, java 1.4.2_06
> Reporter: Julian Wood
> Assignee: Edwin Punzalan
> Fix For: 2.0
> Attachments: MCHANGELOG-36.patch
>
>
> The date test assertions all fail:
> junit.framework.AssertionFailedError: Test changelog 1 set 1 date/time expected:<239635800000> but was:< 239715000000 >
> at org.apache.maven.changelog.ChangeLogTest.testReadFile(ChangeLogTest.java:50)
> assertEquals( "Test changelog 1 set 1 date/time", 239635800000L, changeSet.getDate().getTime() );
> They just have the wrong date, and they are offset by the timezone ( 7 hours, in my case - I'm MST -0700)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Updated: (MCHANGELOG-36) Tests fail on build
Posted by "Julian Wood (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MCHANGELOG-36?page=all ]
Julian Wood updated MCHANGELOG-36:
----------------------------------
Attachment: MCHANGELOG-36a.patch
> Tests fail on build
> -------------------
>
> Key: MCHANGELOG-36
> URL: http://jira.codehaus.org/browse/MCHANGELOG-36
> Project: Maven 2.x Changelog Plugin
> Type: Bug
> Versions: 2.0
> Environment: osx 10.4.6, java 1.4.2_06
> Reporter: Julian Wood
> Assignee: Edwin Punzalan
> Fix For: 2.0
> Attachments: MCHANGELOG-36.patch, MCHANGELOG-36a.patch
>
>
> The date test assertions all fail:
> junit.framework.AssertionFailedError: Test changelog 1 set 1 date/time expected:<239635800000> but was:< 239715000000 >
> at org.apache.maven.changelog.ChangeLogTest.testReadFile(ChangeLogTest.java:50)
> assertEquals( "Test changelog 1 set 1 date/time", 239635800000L, changeSet.getDate().getTime() );
> They just have the wrong date, and they are offset by the timezone ( 7 hours, in my case - I'm MST -0700)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Updated: (MCHANGELOG-36) Tests fail on build
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MCHANGELOG-36?page=all ]
Brett Porter updated MCHANGELOG-36:
-----------------------------------
Fix Version: 2.0
> Tests fail on build
> -------------------
>
> Key: MCHANGELOG-36
> URL: http://jira.codehaus.org/browse/MCHANGELOG-36
> Project: Maven 2.x Changelog Plugin
> Type: Bug
> Versions: 2.0
> Environment: osx 10.4.6, java 1.4.2_06
> Reporter: Julian Wood
> Fix For: 2.0
> Attachments: MCHANGELOG-36.patch
>
>
> The date test assertions all fail:
> junit.framework.AssertionFailedError: Test changelog 1 set 1 date/time expected:<239635800000> but was:< 239715000000 >
> at org.apache.maven.changelog.ChangeLogTest.testReadFile(ChangeLogTest.java:50)
> assertEquals( "Test changelog 1 set 1 date/time", 239635800000L, changeSet.getDate().getTime() );
> They just have the wrong date, and they are offset by the timezone ( 7 hours, in my case - I'm MST -0700)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Commented: (MCHANGELOG-36) Tests fail on build
Posted by "Julian Wood (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MCHANGELOG-36?page=comments#action_66127 ]
Julian Wood commented on MCHANGELOG-36:
---------------------------------------
While this patch is fine on it's own, if one then tries to apply the MCHANGELOG-3.patch, it won't work. Do it in the opposite order:
MCHANGELOG-3.patch
MCHANGELOG-36a.patch
> Tests fail on build
> -------------------
>
> Key: MCHANGELOG-36
> URL: http://jira.codehaus.org/browse/MCHANGELOG-36
> Project: Maven 2.x Changelog Plugin
> Type: Bug
> Versions: 2.0
> Environment: osx 10.4.6, java 1.4.2_06
> Reporter: Julian Wood
> Assignee: Edwin Punzalan
> Fix For: 2.0
> Attachments: MCHANGELOG-36.patch, MCHANGELOG-36a.patch
>
>
> The date test assertions all fail:
> junit.framework.AssertionFailedError: Test changelog 1 set 1 date/time expected:<239635800000> but was:< 239715000000 >
> at org.apache.maven.changelog.ChangeLogTest.testReadFile(ChangeLogTest.java:50)
> assertEquals( "Test changelog 1 set 1 date/time", 239635800000L, changeSet.getDate().getTime() );
> They just have the wrong date, and they are offset by the timezone ( 7 hours, in my case - I'm MST -0700)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Commented: (MCHANGELOG-36) Tests fail on build
Posted by "Julian Wood (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MCHANGELOG-36?page=comments#action_66081 ]
Julian Wood commented on MCHANGELOG-36:
---------------------------------------
I think the real problem is that we don't get the timezone information into the changelog.xml. Thus I made the assumption that all change entries were in the timezone of the person creating the site, and just used that timezone to correct the date entry. I don't think that assumption is going to hold up. Let me see if I can correct the real problem.
> Tests fail on build
> -------------------
>
> Key: MCHANGELOG-36
> URL: http://jira.codehaus.org/browse/MCHANGELOG-36
> Project: Maven 2.x Changelog Plugin
> Type: Bug
> Versions: 2.0
> Environment: osx 10.4.6, java 1.4.2_06
> Reporter: Julian Wood
> Assignee: Edwin Punzalan
> Fix For: 2.0
> Attachments: MCHANGELOG-36.patch
>
>
> The date test assertions all fail:
> junit.framework.AssertionFailedError: Test changelog 1 set 1 date/time expected:<239635800000> but was:< 239715000000 >
> at org.apache.maven.changelog.ChangeLogTest.testReadFile(ChangeLogTest.java:50)
> assertEquals( "Test changelog 1 set 1 date/time", 239635800000L, changeSet.getDate().getTime() );
> They just have the wrong date, and they are offset by the timezone ( 7 hours, in my case - I'm MST -0700)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira