On 14 March 2016 at 16:25, UBIK LOAD PACK Support
<[email protected]> wrote:
> Hello Sebb,
> Thanks for answer.
>
> So you would say it is not a contract ?

No, I'm not saying that it is not.
Nor am I saying that it is.
I don't know the answer.

> Although it seems logical.

I don't know about that either.

> If so, the change made by this commit (the one related to the
> JMeterThread#run() only):
> - http://svn.apache.org/viewvc?view=revision&revision=1720004
>
> Should be reverted to previous state as behaviour will be different between
> 2.13 and 3.0.
>
> With 2.13:
>
>    - If controller.next() returns null and controller.isDone() returns
>    false, the inner loop is exited but the outer loop will not be, if next
>    call to controller.next() returns true the inner loop restarts and run() is
>    not exited
>
>
> With 3.0 as of current nightly build:
>
>    - If controller.next() returns null and controller.isDone() returns
>    false, the loop is exited as long as run
>
>
>
> This probably explains the bug reported  by Andrei Pokhilko:
>
>    - https://bz.apache.org/bugzilla/show_bug.cgi?id=59133
>
>
>
> Regards
>
>
>
> On Mon, Mar 14, 2016 at 4:15 PM, sebb <[email protected]> wrote:
>
>> That area is by far the most complicated part of the JMeter code.
>>
>> It would need very careful examination and lots of unit tests to
>> determine if that is a valid assumption.
>>
>> I would start by amending your copy of the code to log a warning if
>> the assumption is not true.
>> Then try it with as many different test cases as you have.
>>
>>
>> On 14 March 2016 at 14:57, UBIK LOAD PACK Support
>> <[email protected]> wrote:
>> > Hello,
>> > Because until current nightly, it was not enforced so it was possible to
>> > write such code.
>> >
>> > Regards
>> >
>> > On Monday, March 14, 2016, UBIK LOAD PACK Support <
>> [email protected]
>> > <javascript:_e(%7B%7D,'cvml','[email protected]');>> wrote:
>> >
>> >> Hello,
>> >> Can we consider it a contract that:
>> >>
>> >>    -  if GenericController#next()  returns null,
>> >>    GenericController#isDone() must return true ?
>> >>
>> >>
>> >> Thank you
>> >>
>> >> Regards
>> >>
>> >
>> >
>> > --
>> >
>> > Regards
>> > Ubik Load Pack <http://ubikloadpack.com> Team
>> > Follow us on Twitter <http://twitter.com/ubikloadpack>
>> >
>> >
>> > Cordialement
>> > L'équipe Ubik Load Pack <http://ubikloadpack.com>
>> > Suivez-nous sur Twitter <http://twitter.com/ubikloadpack>
>>

Reply via email to