directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Karasulu <>
Subject Re: svn commit: r1129630 - /directory/apacheds/trunk/server-integ/src/test/java/org/apache/directory/server/replication/
Date Sat, 04 Jun 2011 09:17:16 GMT
On Fri, Jun 3, 2011 at 9:27 AM, Kiran Ayyagari <> wrote:
> On Thu, Jun 2, 2011 at 11:02 PM, Alex Karasulu <> wrote:
>> This did not make it to the list. --Alex
>> On Thu, Jun 2, 2011 at 4:32 PM, Alex Karasulu <> wrote:
>>> Is there any way we can avoid using timing dependent code like these sleep calls?
Can't we enable a feedback mechanism where setting some variable drives controlling this process?
> this test like many other integration tests involves a running
> server(s) in network mode and the scenario under testing is highly
> time bound, i.e there
> *will* be delays before the data gets replicated and the test has to
> be written based on the reasonable time limit.
> Though not straight forward, feedback based mechanism can be added but
> that requires a lot of scaffolding based on persistent search/event
> listeners

Understood. Making this feedback based is certainly non-trivial: heck
I would not want to implement it. Maybe we can just note this as an
improvement for the future.


View raw message