On Fri, Jun 3, 2011 at 9:27 AM, Kiran Ayyagari <[email protected]> wrote: > On Thu, Jun 2, 2011 at 11:02 PM, Alex Karasulu <[email protected]> wrote: >> This did not make it to the list. --Alex >> >> On Thu, Jun 2, 2011 at 4:32 PM, Alex Karasulu <[email protected]> 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. Regards, Alex
