Sculptor: DDDSample test failure in trunk

11 views
Skip to first unread message

Ron Smith

unread,
May 18, 2012, 10:09:22 PM5/18/12
to fornax-...@googlegroups.com
FYI - I'm getting a test failure of DDDSample in trunk:

I checked revision 7832 "CSC-686: Bug in complex query for findByCondition. Applied patch from Pavel"
and it has the error.

I'm not getting the error in the following revision:
Revision 7799 : Changed version number to 2.2.0-SNAPSHOT

So it seems it's somewhere between those two commits.

Tests run: 8, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.279 sec <<< FAILURE!
testFindByCargoId(org.sculptor.dddsample.cargo.domain.CargoRepositoryTest)  Time elapsed: 0.215 sec  <<< FAILURE!
java.lang.AssertionError: expected:<2008-01-05T05:00:00.000-06:00> but was:<2008-01-04T22:00:00.000-06:00>
        at org.junit.Assert.fail(Assert.java:91)
        at org.junit.Assert.failNotEquals(Assert.java:645)
        at org.junit.Assert.assertEquals(Assert.java:126)
        at org.junit.Assert.assertEquals(Assert.java:145)
        at org.sculptor.dddsample.cargo.domain.CargoRepositoryTest.assertHandlingEvent(CargoRepositoryTest.java:123)
        at org.sculptor.dddsample.cargo.domain.CargoRepositoryTest.testFindByCargoId(CargoRepositoryTest.java:96)

Patrik Nordwall

unread,
May 19, 2012, 5:28:02 PM5/19/12
to fornax-...@googlegroups.com
Thanks for reporting. It's a timezone issue that bubbles up by one of the upgraded dependencies. I did a change to the test now. Please try latest and see if it works for you.

/Patrik

Ron Smith

unread,
May 19, 2012, 9:52:28 PM5/19/12
to fornax-...@googlegroups.com
I retested with the latest and getting a clean build, thanks.



On Saturday, May 19, 2012 5:28:02 PM UTC-4, Patrik Nordwall wrote:
Thanks for reporting. It's a timezone issue that bubbles up by one of the upgraded dependencies. I did a change to the test now. Please try latest and see if it works for you.

/Patrik

Patrik Nordwall

unread,
May 20, 2012, 2:29:18 AM5/20/12
to fornax-...@googlegroups.com
Good, thanks

/Patrik
Reply all
Reply to author
Forward
0 new messages