Adrian Crum wrote:
> --- On Fri, 3/12/10, Adam Heath <doo...@brainfood.com> wrote:
>> ah ha!
>>
>> This is just excellent.
>>
>> Has anyone tried running the test suite right now?  In
>> the US?
>>
>> The above test fails, because the start date is now, but
>> the end date
>> is in the future *past* when daylight savings time takes
>> place.  So
>> the interval is off by one hour, and the assertion fails.
>>
>> Does anyone have any ideas about a fix?
> 
> Does the test code use millisecond arithmetic? If yes, then the test fails. 
> Use the TimeDuration class instead, or the localized Timestamp adjustment 
> methods in UtilDateTime.
> 
> Give me a file name and line number. In return I will give you more 
> information.

ant run-single-test-suite -Dtest.component=manufacturing
-Dtest.suiteName=productionruntests

line 260 in
applications/manufacturing/script/org/ofbiz/manufacturing/test/ProductionRunTests.xml

Reply via email to