james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefano Bagnara <apa...@bago.org>
Subject Re: [imap] Unit test failure in my environment
Date Tue, 15 Jul 2008 20:54:22 GMT
Robert Burrell Donkin ha scritto:
> On Sat, Jul 12, 2008 at 7:49 PM, Robert Burrell Donkin
> <robertburrelldonkin@gmail.com> wrote:
>> On Sat, Jul 12, 2008 at 5:40 PM, Stefano Bagnara <apache@bago.org> wrote:
>>> Robert Burrell Donkin ha scritto:
>>>> On Fri, Jul 11, 2008 at 3:19 PM, Stefano Bagnara <apache@bago.org>
wrote:
>>>>> Running org.apache.james.experimental.imapserver.ExperimentalRenameTest
>>>>> from
>>>>> my eclipse I have failures on the Rename tests:
>>>>>
>>>>> RenameHierarchy.test
>>>>> ...
>>>>> It seems it expect:
>>>>> one
>>>>> one.two
>>>>> one.two.three
>>>>> one.two.three.four
>>>>> selected
>>>>> and instead it receive
>>>>> selected
>>>>> one
>>>>> one.two
>>>>> one.two.three
>>>>> one.two.three.four
>>>>>
>>>>> Is sorting something under control for the test?
>>>> debatable :-)
>>>>
>>>> i favour sorting since some clients may have issues if the ordering is
>>>> unreliable
>>> Sorry but I'm not sure I understand: do you think it is a bug in the tested
>>> code or a bug in the tests? Is it ok that in my environment the server
>>> returns selected before one while your environment use one before selected?
>>> Is sorting something environment related or something simply not
>>> defined/enforced at code level and depending on the derby queries results?
>> it's debatable whether it's a bug in the tests
>>
>> it's better to sort the results anyway so that's the change i'll make
> 
> i've added a definite sort order. please retest and see whether this
> problem is fixed.

Works like a charm!

Thanks,
Stefano

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message